aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/ipa/gsi.h
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2022-09-06 12:19:38 -0500
committerDavid S. Miller <davem@davemloft.net>2022-09-09 11:45:25 +0100
commit0c126ec3ddcc81448315e73d196a5a2f42cfd6b4 (patch)
tree4eab0be4c2e40f6f01cca7587f9bd80eecd19e71 /drivers/net/ipa/gsi.h
parentMerge branch 'felix-dsa-ethtool-stats' (diff)
downloadwireguard-linux-0c126ec3ddcc81448315e73d196a5a2f42cfd6b4.tar.xz
wireguard-linux-0c126ec3ddcc81448315e73d196a5a2f42cfd6b4.zip
net: ipa: always use transaction IDs instead of lists
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: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipa/gsi.h')
0 files changed, 0 insertions, 0 deletions