]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
net: sfc: remove redundant variable start
authorColin Ian King <colin.king@canonical.com>
Thu, 9 Nov 2017 08:01:22 +0000 (08:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Nov 2017 10:14:14 +0000 (19:14 +0900)
commit492d070f2495d4b200124ed44a35ab3d8f74ac93
tree444491da4a8d8090fd15fbea661db858d1368070
parent98b07e3ed019cbea5ad049df3892957d5fa90b9e
net: sfc: remove redundant variable start

Variable start is assigned but never read hence it is redundant
and can be removed. Cleans up clang warning:

drivers/net/ethernet/sfc/ptp.c:655:2: warning: Value stored to 'start'
is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Bert Kenward <bkenward@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ptp.c