diff options
author | Colin Ian King | 2018-01-16 12:56:11 +0100 |
---|---|---|
committer | Linus Walleij | 2018-01-17 07:44:16 +0100 |
commit | 40a3c9db08ad59062c6ca525fca32ca97edcf99e (patch) | |
tree | 7c31d9d0e33c17f6a7a88d1934224c63b0a00435 /scripts/Makefile.ubsan | |
parent | gpio: of: Fix NPE from OF flags (diff) | |
download | kernel-qcow2-linux-40a3c9db08ad59062c6ca525fca32ca97edcf99e.tar.gz kernel-qcow2-linux-40a3c9db08ad59062c6ca525fca32ca97edcf99e.tar.xz kernel-qcow2-linux-40a3c9db08ad59062c6ca525fca32ca97edcf99e.zip |
gpiolib: remove redundant initialization of pointer desc
The initialized value stored in pointer desc is never read as it
is updated in the first executable statement in the function.
This is therefore redundant and can be removed.
Cleans up clang warning:
drivers/gpio/gpiolib.c:3710:20: warning: Value stored to 'desc'
during its initialization is never read
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'scripts/Makefile.ubsan')
0 files changed, 0 insertions, 0 deletions