net: ipa: kill unused status exceptions
authorAlex Elder <elder@linaro.org>
Mon, 28 Sep 2020 23:04:39 +0000 (18:04 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2020 01:34:55 +0000 (18:34 -0700)
commitab4f71e519ddd06bde81289e74a22d23819befd1
tree09b78a6bed78bd703e7d3f6509d63061bf2b0692
parent4592139028a6d5febf7b545fbc17e8e1f6a127df
net: ipa: kill unused status exceptions

Only the deaggregation status exception type is ever actually used.
If any other status exception type is reported we basically ignore
it, and consume the packet.  Remove the unused definitions of status
exception type symbols; they can be added back when we actually
handle them.

Separately, two consecutive if statements test the same condition
near the top of ipa_endpoint_suspend_one().  Instead, use a single
test with a block that combines the previously-separate lines of
code.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_endpoint.c