]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6a2b9441a5ebc3acf56830c73750f1da3a736f0c
tree899258706516f22f11a21d316290f1e1390079d9
parent580700f1849a207fbbced2e24d381d1756401e45
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