net: socionext: remove redundant pointer ndev
authorColin Ian King <colin.king@canonical.com>
Thu, 5 Jul 2018 09:26:13 +0000 (10:26 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jul 2018 10:30:26 +0000 (19:30 +0900)
commite0515b0cbccc69c7fb4d6edc2f25ac1faa20ac0f
treef73cefc0048d7aba526fa590c29a4a1201f33631
parentdfbd07497860f32b847bfac0023331947d33aae6
net: socionext: remove redundant pointer ndev

Pointer ndev is being assigned but is never used hence it is
redundant and can be removed.

Cleans up clang warning:
warning: variable 'ndev' 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/ethernet/socionext/netsec.c