Skip to content

Commit 4088af3

Browse files
Roman ZippelLinus Torvalds
authored andcommitted
m68k: Remove unnecessary m68k_memoffset export and init
Remove an unnecessary m68k_memoffset export and initialization Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent fb425d0 commit 4088af3

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎arch/m68k/kernel/setup.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ EXPORT_SYMBOL(m68k_num_memory);
6262
int m68k_realnum_memory;
6363
EXPORT_SYMBOL(m68k_realnum_memory);
6464
unsigned long m68k_memoffset;
65-
EXPORT_SYMBOL(m68k_memoffset);
6665
struct mem_info m68k_memory[NUM_MEMINFO];
6766
EXPORT_SYMBOL(m68k_memory);
6867

@@ -200,7 +199,6 @@ static void __init m68k_parse_bootinfo(const struct bi_record *record)
200199
(m68k_num_memory - 1));
201200
m68k_num_memory = 1;
202201
}
203-
m68k_memoffset = m68k_memory[0].addr-PAGE_OFFSET;
204202
#endif
205203
}
206204

0 commit comments

Comments
 (0)