[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171129105922.7fd6jsmlry4sxvhj@dell>
Date: Wed, 29 Nov 2017 10:59:22 +0000
From: Lee Jones <lee.jones@...aro.org>
To: Colin King <colin.king@...onical.com>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] mfd: ti_am335x_tscadc: remove redundant assignment to
node
On Sun, 29 Oct 2017, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> Node is being initialized a value that is never read, it is
> being written over a few statements into the function with
> the return value from call to of_get_child_by_name. Hence
> this initialization can be removed. Cleans up clang warning:
>
> drivers/mfd/ti_am335x_tscadc.c:127:22: warning: Value stored
> to 'node' during its initialization is never read
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> ---
> drivers/mfd/ti_am335x_tscadc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Powered by blists - more mailing lists