Re: [PATCH] rtc: m48t59: remove redundant pointer 'name'

From: Alexandre Belloni
Date: Thu Jul 12 2018 - 15:18:12 EST


On 11/07/2018 09:33:12+0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Pointer 'name' is being assigned but is never used hence it is redundant
> and can be removed.
>
> Cleans up clang warning:
> warning: variable 'name' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> ---
> drivers/rtc/rtc-m48t59.c | 4 ----
> 1 file changed, 4 deletions(-)
>
Applied, thanks.

--
Alexandre Belloni, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com