summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorClaudio Migliorelli <claudio.migliorelli@mail.polimi.it>2023-04-23 15:29:35 +0200
committerMike Rapoport (IBM) <rppt@kernel.org>2023-05-24 10:56:30 +0200
commitfc493f83a25835c14cd96379c1a07459230881bc (patch)
tree1f87e4ebca41b3b7533a7200beca1723ee674f14 /mm
parentAdd tests for memblock_alloc_node() (diff)
downloadlinux-fc493f83a25835c14cd96379c1a07459230881bc.tar.xz
linux-fc493f83a25835c14cd96379c1a07459230881bc.zip
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 <claudio.migliorelli@mail.polimi.it> Link: https://lore.kernel.org/r/87r0sa7mm8.fsf@mail.polimi.it Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/memblock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/memblock.c b/mm/memblock.c
index 3feafea06ab2..9e28c1286ec6 100644
--- a/mm/memblock.c
+++ b/mm/memblock.c
@@ -156,10 +156,10 @@ static __refdata struct memblock_type *memblock_memory = &memblock.memory;
} while (0)
static int memblock_debug __initdata_memblock;
-static bool system_has_some_mirror __initdata_memblock = false;
+static bool system_has_some_mirror __initdata_memblock;
static int memblock_can_resize __initdata_memblock;
-static int memblock_memory_in_slab __initdata_memblock = 0;
-static int memblock_reserved_in_slab __initdata_memblock = 0;
+static int memblock_memory_in_slab __initdata_memblock;
+static int memblock_reserved_in_slab __initdata_memblock;
static enum memblock_flags __init_memblock choose_memblock_flags(void)
{