diff options
author | Souptick Joarder <[email protected]> | 2021-06-28 19:40:02 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-06-29 10:53:52 -0700 |
commit | f4c1ab0937c3a22c5e6e735b47fa3fa9c68dc26e (patch) | |
tree | 03f4bdfc53a76cd7a6240589eb9f928e316218ba | |
parent | 5673a60b80e8d1eaaa1e800e8a85451fd037f63e (diff) |
h8300: remove unused variable
Kernel test robot throws below warning ->
>> arch/h8300/kernel/setup.c:72:26:
warning: Unused variable: region [unusedVariable]
struct memblock_region *region;
Fixed it by removing unused variable.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Souptick Joarder <[email protected]>
Reported-by: kernel test robot <[email protected]>
Acked-by: Mike Rapoport <[email protected]>
Acked-by: Yoshinori Sato <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r-- | arch/h8300/kernel/setup.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/h8300/kernel/setup.c b/arch/h8300/kernel/setup.c index 0281f92eea3d..c3590b2e9592 100644 --- a/arch/h8300/kernel/setup.c +++ b/arch/h8300/kernel/setup.c @@ -69,8 +69,6 @@ void __init h8300_fdt_init(void *fdt, char *bootargs) static void __init bootmem_init(void) { - struct memblock_region *region; - memory_end = memory_start = 0; /* Find main memory where is the kernel */ |