aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGravatar Alex Elder <elder@linaro.org> 2022-07-19 13:10:20 -0500
committerGravatar Jakub Kicinski <kuba@kernel.org> 2022-07-20 21:04:36 -0700
commit616c4a83b6eaf2e517849d90203ac1c3f6f61b57 (patch)
tree1a543f6254a0458ecc8f3584d7dd64bc3b191eb2 /drivers
parentnet: ipa: report when the driver has been removed (diff)
downloadlinux-616c4a83b6eaf2e517849d90203ac1c3f6f61b57.tar.gz
linux-616c4a83b6eaf2e517849d90203ac1c3f6f61b57.tar.bz2
linux-616c4a83b6eaf2e517849d90203ac1c3f6f61b57.zip
net: ipa: fix an outdated comment
Since commit 8797972afff3d ("net: ipa: remove command info pool"), we don't allocate "command info" entries for command channel transactions. Fix a comment that seems to suggest we still do. (Even before that commit, the comment was out of place.) Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ipa/gsi_trans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ipa/gsi_trans.c b/drivers/net/ipa/gsi_trans.c
index 55987e35af2d..18e7e8c405be 100644
--- a/drivers/net/ipa/gsi_trans.c
+++ b/drivers/net/ipa/gsi_trans.c
@@ -362,7 +362,7 @@ struct gsi_trans *gsi_channel_trans_alloc(struct gsi *gsi, u32 channel_id,
trans->rsvd_count = tre_count;
init_completion(&trans->completion);
- /* Allocate the scatterlist and (if requested) info entries. */
+ /* Allocate the scatterlist */
trans->sgl = gsi_trans_pool_alloc(&trans_info->sg_pool, tre_count);
sg_init_marker(trans->sgl, tre_count);