• Alex Elder's avatar
    net: ipa: kill unused status exceptions · ab4f71e5
    Alex Elder authored
    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: default avatarAlex Elder <elder@linaro.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    ab4f71e5
ipa_endpoint.c 46.8 KB