]> git.baikalelectronics.ru Git - kernel.git/commit
dsa: mv88e6xxx: Drop duplicate declaration of 'ret' variable
authorGuenter Roeck <linux@roeck-us.net>
Thu, 16 Apr 2015 13:49:50 +0000 (06:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Apr 2015 16:15:25 +0000 (12:15 -0400)
commit29762596654ff268cdceda4b2c2f15be6980fcbd
tree49ca6c9872f6fa98c6186bea21674b5e6d7f8b01
parent95d2702d00b9f9e309abf7b1c5b37651ac414796
dsa: mv88e6xxx: Drop duplicate declaration of 'ret' variable

A duplicate declaration of 'ret' can result in hiding an error code.
Drop it.

Fixes: 1385d1b7db6e ("net: dsa: Provide additional RMON statistics")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c