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 11:56:30 +0300
commitfc493f83a25835c14cd96379c1a07459230881bc (patch)
tree1f87e4ebca41b3b7533a7200beca1723ee674f14 /mm
parentb842f4f55810b5d94dbbdda00f38dce38ec1bbb6 (diff)
downloadlinux-fc493f83a25835c14cd96379c1a07459230881bc.tar.gz
linux-fc493f83a25835c14cd96379c1a07459230881bc.tar.bz2
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)
{