[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZBAN/DHtskVQd2E5@kroah.com>
Date: Tue, 14 Mar 2023 07:02:36 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@...hiba.co.jp>
Cc: Arnd Bergmann <arnd@...db.de>,
Samu Onkalo <samu.p.onkalo@...ia.com>,
linux-kernel@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH] misc: apds990x: Remove unnecessary return code in
apds990x_power_state_show()
On Tue, Mar 14, 2023 at 10:27:32AM +0900, Nobuhiro Iwamatsu wrote:
> In apds990x_power_state_show(), the return value of sprintf is returned, so
> 'return 0' is unnecessary. This remove 'return 0'.
>
> Fixes: 92b1f84d46b2 ("drivers/misc: driver for APDS990X ALS and proximity sensors")
> Cc: stable@...r.kernel.org
Why is this needed for stable kernels? It's dead code removal, no
actual functionality is changed.
thanks,
greg k-h
Powered by blists - more mailing lists