mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
This commit is contained in:
parent
71fd380a6b
commit
06980b24cf
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ struct meson_wdt_dev {
|
|||
static int meson_restart_handle(struct notifier_block *this, unsigned long mode,
|
||||
void *cmd)
|
||||
{
|
||||
u32 tc_reboot = MESON_WDT_DC_RESET | MESON_WDT_TC_EN | 100;
|
||||
u32 tc_reboot = MESON_WDT_DC_RESET | MESON_WDT_TC_EN;
|
||||
struct meson_wdt_dev *meson_wdt = container_of(this,
|
||||
struct meson_wdt_dev,
|
||||
restart_handler);
|
||||
|
|
|
|||
Loading…
Reference in a new issue