diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-08-06 10:39:53 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-08-12 14:05:39 +0300 |
commit | b18f22d02ad1a4cfc0ca348766da651f9119cf44 (patch) | |
tree | ae2fac6c1e77d2d4bee2ceab2f2816b979a10fc8 /Documentation/watchdog/watchdog-pm.rst | |
parent | 26ae6a8e9b09a94a38e5351502bee0e801d4d8c6 (diff) | |
download | linux-b18f22d02ad1a4cfc0ca348766da651f9119cf44.tar.xz |
watchdog: jz4740: Fix unused variable warning in jz4740_wdt_probe
Fix the following warning (Building: ci20_defconfig mips):
drivers/watchdog/jz4740_wdt.c: In function ‘jz4740_wdt_probe’:
drivers/watchdog/jz4740_wdt.c:165:6: warning: unused variable ‘ret’ [-Wunused-variable]
int ret;
^~~
Fixes: 9ee644c9326c ("watchdog: jz4740_wdt: drop warning after registering device")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20190806073953.GA13685@embeddedor
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'Documentation/watchdog/watchdog-pm.rst')
0 files changed, 0 insertions, 0 deletions