aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ipa/gsi_trans.h
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2022-09-06 12:19:40 -0500
committerDavid S. Miller <davem@davemloft.net>2022-09-09 11:45:25 +0100
commitd338ae28d8a866c57fcac38f3d77bcc1d1702d19 (patch)
treea0f18dbd73baf9673f698aa8107a355501410b21 /drivers/net/ipa/gsi_trans.h
parent11902b41f2fa3960280b3a3b17474caa22b54cba (diff)
net: ipa: kill all other transaction lists
None of the transaction lists are actually needed any more, because transaction IDs (which have been shown to be equivalent) are used instead. So we can remove all of them, as well as the spinlock that protects updates to them. Not requiring a lock simplifies gsi_trans_free() as well; we only need to check the reference count once to decide whether we've hit the last reference. This makes the links field in the gsi_trans structure unused, so get rid of that as well. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipa/gsi_trans.h')
-rw-r--r--drivers/net/ipa/gsi_trans.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ipa/gsi_trans.h b/drivers/net/ipa/gsi_trans.h
index 7084507830c2..af8c4c6719d1 100644
--- a/drivers/net/ipa/gsi_trans.h
+++ b/drivers/net/ipa/gsi_trans.h
@@ -29,7 +29,6 @@ struct gsi_trans_pool;
* struct gsi_trans - a GSI transaction
*
* Most fields in this structure for internal use by the transaction core code:
- * @links: Links for channel transaction lists by state
* @gsi: GSI pointer
* @channel_id: Channel number transaction is associated with
* @cancelled: If set by the core code, transaction was cancelled
@@ -50,8 +49,6 @@ struct gsi_trans_pool;
* received.
*/
struct gsi_trans {
- struct list_head links; /* gsi_channel lists */
-
struct gsi *gsi;
u8 channel_id;