]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: diag288_wdt: Remove redundant assignment
authorJunlin Yang <yangjunlin@yulong.com>
Wed, 3 Feb 2021 12:24:04 +0000 (20:24 +0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 21 Jun 2021 06:49:14 +0000 (08:49 +0200)
commitd012c7bf24119081d199b1767ece4b74fde474d1
tree44e458a8a35e1069a0af40151212f6766b6979be
parent7bec32fe8d5f834d98042487b407a11f5e4a09fc
watchdog: diag288_wdt: Remove redundant assignment

The assign for 'ret' is redundant and can be removed,
because it will be assigned before use.

Signed-off-by: Junlin Yang <yangjunlin@yulong.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210203122404.752-1-angkery@163.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/diag288_wdt.c