sundance: remove unused variable cnt
authorColin Ian King <colin.i.king@gmail.com>
Tue, 15 Nov 2022 09:31:37 +0000 (09:31 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 17 Nov 2022 12:18:30 +0000 (13:18 +0100)
commit710cfc6ab4b85ac5388828b4be63a5f20c8a9dd9
treec49e77dfc205679c04435b5788752b5c5a8b85ec
parentb0798310f84c97d91e02c950d54677cad91ec5dd
sundance: remove unused variable cnt

Variable cnt 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>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Link: https://lore.kernel.org/r/20221115093137.144002-1-colin.i.king@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/dlink/sundance.c