diff options
author | Jason Wang <wangborong@cdjrlc.com> | 2022-07-23 11:23:41 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-08-01 18:43:24 +0200 |
commit | cbe263b6b0eb1309adf6c7e5dbd53e2dbd81736b (patch) | |
tree | 1b7f070103550b028b127d9ed04e361f15e0044f /arch/parisc/mm | |
parent | parisc: Do not initialise statics to 0 (diff) | |
download | linux-cbe263b6b0eb1309adf6c7e5dbd53e2dbd81736b.tar.xz linux-cbe263b6b0eb1309adf6c7e5dbd53e2dbd81736b.zip |
parisc: Drop zero variable initialisations in mm/init.c
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>
Diffstat (limited to 'arch/parisc/mm')
-rw-r--r-- | arch/parisc/mm/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c index 0a81499dd35e..8e2f7b8ceb70 100644 --- a/arch/parisc/mm/init.c +++ b/arch/parisc/mm/init.c @@ -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); |