qed: remove unused num_ooo_add_to_peninsula variable
authorTom Rix <trix@redhat.com>
Sun, 26 Mar 2023 00:17:33 +0000 (20:17 -0400)
committerJakub Kicinski <kuba@kernel.org>
Tue, 28 Mar 2023 02:43:45 +0000 (19:43 -0700)
commit2bcc74ffd21a748fb310135175a1f6b271397e0f
tree4ef4d61a3292d7f82a416ea64e0fa2f65ca2f5e2
parent3948b05950fdd64002a5f182c65ba5cf2d53cf71
qed: remove unused num_ooo_add_to_peninsula variable

clang with W=1 reports
drivers/net/ethernet/qlogic/qed/qed_ll2.c:649:6: error: variable
  'num_ooo_add_to_peninsula' set but not used [-Werror,-Wunused-but-set-variable]
        u32 num_ooo_add_to_peninsula = 0, cid;
            ^
This variable is not used so remove it.

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230326001733.1343274-1-trix@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/qlogic/qed/qed_ll2.c