mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 14:20:55 +07:00
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:
parent
00fd20b4d9
commit
da39013e8e
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user