Skip to content

Commit fc493f8

Browse files
migliiorppt
authored andcommitted
Fix some coding style errors in memblock.c
This patch removes the initialization of some static variables to 0 and `false` in the memblock source file, according to the coding style guidelines. Signed-off-by: Claudio Migliorelli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mike Rapoport (IBM) <[email protected]>
1 parent b842f4f commit fc493f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mm/memblock.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,10 @@ static __refdata struct memblock_type *memblock_memory = &memblock.memory;
156156
} while (0)
157157

158158
static int memblock_debug __initdata_memblock;
159-
static bool system_has_some_mirror __initdata_memblock = false;
159+
static bool system_has_some_mirror __initdata_memblock;
160160
static int memblock_can_resize __initdata_memblock;
161-
static int memblock_memory_in_slab __initdata_memblock = 0;
162-
static int memblock_reserved_in_slab __initdata_memblock = 0;
161+
static int memblock_memory_in_slab __initdata_memblock;
162+
static int memblock_reserved_in_slab __initdata_memblock;
163163

164164
static enum memblock_flags __init_memblock choose_memblock_flags(void)
165165
{

0 commit comments

Comments
 (0)