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>
This commit is contained in:
YueHaibing 2019-01-23 17:05:24 +08:00 committed by Wim Van Sebroeck
parent 00fd20b4d9
commit da39013e8e
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ static int __init pikawdt_init(void)
{
struct device_node *np;
void __iomem *fpga;
static u32 post1;
u32 post1;
int ret;
np = of_find_compatible_node(NULL, NULL, "pika,fpga");