[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200705.154840.809662783837103276.davem@davemloft.net>
Date: Sun, 05 Jul 2020 15:48:40 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: andrew@...n.ch
Cc: netdev@...r.kernel.org, f.fainelli@...il.com,
privat@...l-hjelmeland.no
Subject: Re: [PATCH] net: dsa: lan9303: fix variable 'res' set but not used
From: Andrew Lunn <andrew@...n.ch>
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 <privat@...l-hjelmeland.no>
> Signed-off-by: Andrew Lunn <andrew@...n.ch>
Applied to net-next.
Powered by blists - more mailing lists