]> 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)
commit2ece8528cccad95de0cc82e860df6733d9986204
tree49ca6c9872f6fa98c6186bea21674b5e6d7f8b01
parent887e2c2b9fd4db9b0df920bb4ca39a3a7b8a5e9a
dsa: mv88e6xxx: Drop duplicate declaration of 'ret' variable

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

Fixes: b90ca6f9d4ee ("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