Messages in this thread | | | Date | Wed, 29 Nov 2017 10:59:22 +0000 | From | Lee Jones <> | 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@canonical.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@canonical.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
| |