diff options
author | Carlo Caione <carlo@caione.org> | 2014-10-09 15:59:16 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2014-10-20 15:09:17 -0400 |
commit | 06980b24cf9bfcc753a07ee362976169bb869869 (patch) | |
tree | 2235afa5a89fd7d559b27c13602da634561b23d0 | |
parent | 71fd380a6b87f384002feceda39fd670ede7ea5f (diff) |
watchdog: meson: remove magic value for reboot
This patch removes the magic value used for rebooting the board. This
value is useless and leads to a static checker warning as reported by
Dan Carpenter.
Signed-off-by: Carlo Caione <carlo@caione.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
-rw-r--r-- | drivers/watchdog/meson_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/meson_wdt.c b/drivers/watchdog/meson_wdt.c index 37f9f5ec6cb0..ef6a298e8c45 100644 --- a/drivers/watchdog/meson_wdt.c +++ b/drivers/watchdog/meson_wdt.c | |||
@@ -51,7 +51,7 @@ struct meson_wdt_dev { | |||
51 | static int meson_restart_handle(struct notifier_block *this, unsigned long mode, | 51 | static int meson_restart_handle(struct notifier_block *this, unsigned long mode, |
52 | void *cmd) | 52 | void *cmd) |
53 | { | 53 | { |
54 | u32 tc_reboot = MESON_WDT_DC_RESET | MESON_WDT_TC_EN | 100; | 54 | u32 tc_reboot = MESON_WDT_DC_RESET | MESON_WDT_TC_EN; |
55 | struct meson_wdt_dev *meson_wdt = container_of(this, | 55 | struct meson_wdt_dev *meson_wdt = container_of(this, |
56 | struct meson_wdt_dev, | 56 | struct meson_wdt_dev, |
57 | restart_handler); | 57 | restart_handler); |