Commit da39013e authored by YueHaibing's avatar YueHaibing Committed by Wim Van Sebroeck

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: default avatarYueHaibing <yuehaibing@huawei.com>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@linux-watchdog.org>
parent 00fd20b4
...@@ -225,7 +225,7 @@ static int __init pikawdt_init(void) ...@@ -225,7 +225,7 @@ static int __init pikawdt_init(void)
{ {
struct device_node *np; struct device_node *np;
void __iomem *fpga; void __iomem *fpga;
static u32 post1; u32 post1;
int ret; int ret;
np = of_find_compatible_node(NULL, NULL, "pika,fpga"); np = of_find_compatible_node(NULL, NULL, "pika,fpga");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment