cbus-retu-wdt: Fix unused-variable-warning
PATCH 1/1 cbus-retu-wdt: Fix unused-variable-warning
This fixes an "unused variable" warning. No change in functionality.
Signed-off-by Michael Buesch <[email protected]>
---
drivers/cbus/retu-wdt.c +2 -2
@@ -124,9 +124,9 @@ static int retu_wdt_release(struct inodestruct retu_wdt_dev *wdev = file->private_data;#ifndef CONFIG_WATCHDOG_NOWAYOUT -retu_wdt_ping_enable (retu_wdt); +retu_wdt_ping_enable (wdev);#endif -clear_bit (0 , &retu_wdt->users); +clear_bit (0 , &wdev->users);return 0 ; }
Signature · 1 line
Greetings, Michael.
Quoted 4 lines · Michael Buesch
This fixes an "unused variable" warning. No change in functionality.
Signed-off-by Michael Buesch <[email protected]>
Acked-by Felipe Balbi <[email protected]>
Signature · 1 line
balbi