mfd: ti_am335x_tscadc: Remove redundant assignment to node
authorColin Ian King <colin.king@canonical.com>
Sun, 29 Oct 2017 12:58:51 +0000 (12:58 +0000)
committerLee Jones <lee.jones@linaro.org>
Mon, 8 Jan 2018 11:03:34 +0000 (11:03 +0000)
commite368866ea7a88f5ea16544c4e037b22d993dc3df
tree8b58e2aea2c520fe2d0f967113d7e7729889265a
parentf058aa3faba60cf61b573bd519366c809b6f2727
mfd: ti_am335x_tscadc: Remove redundant assignment to node

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>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ti_am335x_tscadc.c