[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJKOXPcy3emsEPRRK+sKxe51ZWPoVscwHdrVz0fw7vJfLh9HWw@mail.gmail.com>
Date: Wed, 29 Aug 2018 15:54:13 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: colin.king@...onical.com
Cc: sre@...nel.org, linux-pm@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] power: supply: remove unused pointer 'dev'
On Tue, 28 Aug 2018 at 18:29, Colin King <colin.king@...onical.com> wrote:
>
> From: Colin Ian King <colin.king@...onical.com>
>
> Pointer 'dev' is being assigned but is never used hence it is
> redundant and can be removed.
>
> Cleans up clang warning:
> variable 'dev' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> ---
> drivers/power/supply/cros_usbpd-charger.c | 2 --
> 1 file changed, 2 deletions(-)
>
Maybe add cros_usbpd prefix to the subject?
Anyway:
Reviewed-by: Krzysztof Kozlowski <krzk@...nel.org>
Best regards,
Krzysztof
Powered by blists - more mailing lists