OSDN Git Service

net: ipa: get rid of status size constraint
authorAlex Elder <elder@linaro.org>
Fri, 5 Feb 2021 22:10:59 +0000 (16:10 -0600)
committerJakub Kicinski <kuba@kernel.org>
Sat, 6 Feb 2021 22:57:19 +0000 (14:57 -0800)
commit4873537430e5b6bbfc505a6a7b07a7c5e92ddffc
tree4001dbeaf89de4fc38cd46b5debcb8809037c3ce
parent9af5ccf32383005070092e51b15cee51584323c0
net: ipa: get rid of status size constraint

There is a build-time check that the packet status structure is a
multiple of 4 bytes in size.  It's not clear where that constraint
comes from, but the structure defines what hardware provides so its
definition won't change.  Get rid of the check; it adds no value.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/ipa_endpoint.c