OSDN Git Service

net: ipa: fix an outdated comment
authorAlex Elder <elder@linaro.org>
Tue, 19 Jul 2022 18:10:20 +0000 (13:10 -0500)
committerJakub Kicinski <kuba@kernel.org>
Thu, 21 Jul 2022 04:04:36 +0000 (21:04 -0700)
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>
drivers/net/ipa/gsi_trans.c

index 55987e3..18e7e8c 100644 (file)
@@ -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);