]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: mana: Use mana_cleanup_port_context() for rxq cleanup
authorShradha Gupta <shradhagupta@linux.microsoft.com>
Fri, 14 Jun 2024 07:19:08 +0000 (00:19 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 18 Jun 2024 01:01:01 +0000 (18:01 -0700)
commite275e19c918b502aa4534e56dc2e25b5095e9005
treec1fa0c22971f1fea5c84c6acdf6816585af32f19
parentdd89a81d850fa9a65f67b4527c0e420d15bf836c
net: mana: Use mana_cleanup_port_context() for rxq cleanup

To cleanup rxqs in port context structures, instead of duplicating the
code, use existing function mana_cleanup_port_context() which does
the exact cleanup that's needed.

Signed-off-by: Shradha Gupta <shradhagupta@linux.microsoft.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Wei Liu <wei.liu@kernel.org>
Reviewed-by: Heng Qi <hengqi@linux.alibaba.com>
Link: https://lore.kernel.org/r/1718349548-28697-1-git-send-email-shradhagupta@linux.microsoft.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/microsoft/mana/mana_en.c