summary refs log tree commit diff
path: root/include/uapi
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2019-07-09 13:34:09 -0700
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-07-15 08:49:11 +0200
commit7fb832ae72949c883da52d6316ff08f03c75d300 (patch)
tree10511d22eaf8c077a6d39756c6b0fa04d548f38f /include/uapi
parent053bc5764bb0a84ef0b26a8e4ddd3e2f4b4f8215 (diff)
downloadlinux-7fb832ae72949c883da52d6316ff08f03c75d300.tar.gz
watchdog: digicolor_wdt: Remove unused variable in dc_wdt_probe
clang warns:

drivers/watchdog/digicolor_wdt.c:121:6: warning: unused variable 'ret'
[-Wunused-variable]
        int ret;
            ^
1 warning generated.

It's unused now, remove it.

Fixes: cdad26977e3f ("watchdog: digicolor_wdt: drop warning after registering device")
Link: https://github.com/ClangBuiltLinux/linux/issues/591
Reported-by: kernelci.org bot <bot@kernelci.org>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20190709203409.117123-1-natechancellor@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions