]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: alteon: remove unused len variable
authorTom Rix <trix@redhat.com>
Fri, 31 Mar 2023 20:55:45 +0000 (16:55 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Apr 2023 12:43:43 +0000 (13:43 +0100)
commit51aaa68222d6c34f0373cf95223ce2f230329e8f
treecae732bed07cd5a190f17dcece1cf27d92d0c23f
parentf85b882441585fceb5cef690660933ccbb5d5bc0
net: alteon: remove unused len variable

clang with W=1 reports
drivers/net/ethernet/alteon/acenic.c:2438:10: error: variable
  'len' set but not used [-Werror,-Wunused-but-set-variable]
                int i, len = 0;
                       ^
This variable is not used so remove it.

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/alteon/acenic.c