]> git.baikalelectronics.ru Git - kernel.git/commitdiff
parisc: Drop zero variable initialisations in mm/init.c
authorJason Wang <wangborong@cdjrlc.com>
Sat, 23 Jul 2022 09:23:41 +0000 (17:23 +0800)
committerHelge Deller <deller@gmx.de>
Mon, 1 Aug 2022 16:43:24 +0000 (18:43 +0200)
Initialise global and static variable to 0 is always unnecessary.
Remove the unnecessary initialisations.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/mm/init.c

index 0a81499dd35e2b49a66f6addf00e9c554b7076de..8e2f7b8ceb706be34a115d09a606716fa044eeb1 100644 (file)
@@ -722,7 +722,7 @@ static unsigned long space_id[SID_ARRAY_SIZE] = { 1 }; /* disallow space 0 */
 static unsigned long dirty_space_id[SID_ARRAY_SIZE];
 static unsigned long space_id_index;
 static unsigned long free_space_ids = NR_SPACE_IDS - 1;
-static unsigned long dirty_space_ids = 0;
+static unsigned long dirty_space_ids;
 
 static DEFINE_SPINLOCK(sid_lock);