]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bna: remove variable num_entries
authorColin Ian King <colin.i.king@gmail.com>
Mon, 24 Oct 2022 12:59:51 +0000 (13:59 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 26 Oct 2022 02:44:59 +0000 (19:44 -0700)
commitbb214ac47e0a6d58940cb89d3b036ba042387418
treeb115d1e0692da9584a2fadb3adb0da962c719023
parent022f19cf361bdbc72b51e684573c847c4f37478d
bna: remove variable num_entries

Variable num_entries is just being incremented and it's never used
anywhere else. The variable and the increment are redundant so
remove it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20221024125951.2155434-1-colin.i.king@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/brocade/bna/bfa_msgq.c