Skip to content

Commit

Permalink
parisc: Drop zero variable initialisations in mm/init.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jason Wang authored and Helge Deller committed Aug 1, 2022
1 parent b9e28d3 commit cbe263b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/parisc/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit cbe263b

Please sign in to comment.