Skip to content

Commit

Permalink
net: ipa: fix an outdated comment
Browse files Browse the repository at this point in the history
Since commit 8797972 ("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>
  • Loading branch information
Alex Elder authored and Jakub Kicinski committed Jul 21, 2022
1 parent 3c91c86 commit 616c4a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ipa/gsi_trans.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 616c4a8

Please sign in to comment.