net: dsa: bcm_sf2: remove redundant variable off
authorColin Ian King <colin.king@canonical.com>
Wed, 4 Jul 2018 06:54:36 +0000 (07:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jul 2018 13:39:10 +0000 (22:39 +0900)
commit5c17a07cff792bc5ec2ae8a3577f1fcfd5668595
tree9517cc48d10959db1db16094a800589ab6618149
parentd11a899ff0de3efad3c27fb1241de51e9d1a04a8
net: dsa: bcm_sf2: remove redundant variable off

Variable 'off' is being assigned but is never used hence it is
redundant and can be removed.

Cleans up clang warning:
warning: variable 'off' set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2.c