Re: [PATCH] net: dsa: lan9303: fix variable 'res' set but not used

2020-07-05 Thread David Miller
From: Andrew Lunn Date: Sun, 5 Jul 2020 22:55:55 +0200 > Since lan9303_adjust_link() is a void function, there is no option to > return an error. So just remove the variable and lets any errors be > discarded. > > Cc: Egil Hjelmeland > Signed-off-by: Andrew Lunn Applied to net-next.

Re: [PATCH] net: dsa: lan9303: fix variable 'res' set but not used

2020-07-05 Thread David Miller
From: Andrew Lunn Date: Sun, 5 Jul 2020 22:55:55 +0200 > Since lan9303_adjust_link() is a void function, there is no option to > return an error. So just remove the variable and lets any errors be > discarded. > > Cc: Egil Hjelmeland > Signed-off-by: Andrew Lunn Applied to net-next.

Re: [PATCH] net: dsa: lan9303: fix variable 'res' set but not used

2020-07-05 Thread Florian Fainelli
On 7/5/2020 1:55 PM, Andrew Lunn wrote: > Since lan9303_adjust_link() is a void function, there is no option to > return an error. So just remove the variable and lets any errors be > discarded. > > Cc: Egil Hjelmeland > Signed-off-by: Andrew Lunn Reviewed-by: Florian Fainelli -- Florian

[PATCH] net: dsa: lan9303: fix variable 'res' set but not used

2020-07-05 Thread Andrew Lunn
Since lan9303_adjust_link() is a void function, there is no option to return an error. So just remove the variable and lets any errors be discarded. Cc: Egil Hjelmeland Signed-off-by: Andrew Lunn --- drivers/net/dsa/lan9303-core.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) di