]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
watchdog: pika_wdt: drop pointless static qualifier in pikawdt_init
authorYueHaibing <yuehaibing@huawei.com>
Wed, 23 Jan 2019 09:05:24 +0000 (17:05 +0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sat, 2 Mar 2019 14:28:18 +0000 (15:28 +0100)
commitda39013e8e6aecc7afe0654ad87cf2f0fad993af
treef803b1105c7f3ed7501d891f23077178cef31484
parent00fd20b4d94ef4200993eab13a108d7c68b0202b
watchdog: pika_wdt: drop pointless static qualifier in pikawdt_init

There is no need to have the 'post1' variable static since
new value always be assigned before use it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/pika_wdt.c