Re: [PATCH] dsa: mv88e6xxx: Drop duplicate declaration of 'ret' variable

2015-04-16 Thread David Miller
From: Guenter Roeck Date: Thu, 16 Apr 2015 06:49:50 -0700 > 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 Applied, thank you. -- To unsubscribe from this li

[PATCH] dsa: mv88e6xxx: Drop duplicate declaration of 'ret' variable

2015-04-16 Thread Guenter Roeck
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 --- Found by compiling the file with W=2. drivers/net/dsa/mv88e6xxx.c | 2 -- 1 file changed, 2 deletions(-) diff --gi