aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ppp/ppp_generic.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-10-31 10:08:23 +0000
committerDavid S. Miller <davem@davemloft.net>2017-11-01 21:19:32 +0900
commit687d4f2bea322077cc70be0555ad2a1cd48b812a (patch)
treef40d099525f112a6e179d17744f428ff76e0446f /drivers/net/ppp/ppp_generic.c
parentMerge branch 'PHYLINK-cosmetic-and-build-fixes' (diff)
downloadlinux-dev-687d4f2bea322077cc70be0555ad2a1cd48b812a.tar.xz
linux-dev-687d4f2bea322077cc70be0555ad2a1cd48b812a.zip
net: ethernet: slicoss: remove redundant initialization of idx
Variable idx is being initialized and later on over-written by a new value in a do-loop without the initial value ever being read. Hence the initializion is redundant and can be removed. Cleans up clang warning: drivers/net/ethernet/alacritech/slicoss.c:358:15: warning: Value stored to 'idx' during its initialization is never read Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Lino Sanfilippo <LinoSanfilippo@gmx.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ppp/ppp_generic.c')
0 files changed, 0 insertions, 0 deletions