mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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>
This commit is contained in:
parent
b9e28d3c24
commit
cbe263b6b0
1 changed files with 1 additions and 1 deletions
|
@ -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 dirty_space_id[SID_ARRAY_SIZE];
|
||||||
static unsigned long space_id_index;
|
static unsigned long space_id_index;
|
||||||
static unsigned long free_space_ids = NR_SPACE_IDS - 1;
|
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);
|
static DEFINE_SPINLOCK(sid_lock);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue