watchdog: ts72xx_wdt: Kill superfluous variable in remove
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 19 Aug 2014 11:57:12 +0000 (14:57 +0300)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 20 Oct 2014 18:44:55 +0000 (20:44 +0200)
commit1f897a81915222310374cac1a85c0c7104f16249
tree899258706516f22f11a21d316290f1e1390079d9
parent62ce25439a7ea01eba5c2a6a8284e4aa23890042
watchdog: ts72xx_wdt: Kill superfluous variable in remove

There is no need to store the return value of misc_deregister() in a
variable. Instead we can just return the value directly.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/ts72xx_wdt.c