• Alex Elder's avatar
    net: ipa: always use transaction IDs instead of lists · 0c126ec3
    Alex Elder authored
    In gsi_channel_trans_complete(), use the completed and pending IDs
    to determine whether there are any transactions in completed state.
    
    Similarly, in gsi_channel_trans_cancel_pending(), use the pending
    and committed IDs to mark pending transactions cancelled.  Rearrange
    the logic a bit there for a simpler result.
    
    This removes the only user of list_last_entry_or_null(), so get rid
    of that macro.
    
    Remove the temporary warnings added by the previous commit.
    Signed-off-by: default avatarAlex Elder <elder@linaro.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    0c126ec3
gsi_trans.c 25.3 KB