summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-max3191x.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-01-16 14:56:11 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-01-17 09:44:16 +0300
commit40a3c9db08ad59062c6ca525fca32ca97edcf99e (patch)
tree7c31d9d0e33c17f6a7a88d1934224c63b0a00435 /drivers/gpio/gpio-max3191x.c
parent605f2d34ea52a14744fe3c6b43708bce7e2eb690 (diff)
downloadlinux-40a3c9db08ad59062c6ca525fca32ca97edcf99e.tar.xz
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 'drivers/gpio/gpio-max3191x.c')
0 files changed, 0 insertions, 0 deletions