]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit31976cfdc7e2e8b0b23d731703e4f1e21ff79466
tree49ca6c9872f6fa98c6186bea21674b5e6d7f8b01
parent5a950ad58d412d76d33f4f4399d69308d511c1a4
dsa: mv88e6xxx: Drop duplicate declaration of 'ret' variable

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

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