Skip to content

Commit 4c50a27

Browse files
chenhuacaiKexyBiscuit
authored andcommitted
FROMGIT: MIPS/Loongson: Fix build warnings about export.h
After commit a934a57 ("scripts/misc-check: check missing #include <linux/export.h> when W=1") and 7d95680 ("scripts/misc-check: check unnecessary #include <linux/export.h> when W=1"), we get some build warnings with W=1: arch/mips/loongson64/setup.c: warning: EXPORT_SYMBOL() is not used, but #include <linux/export.h> is present So fix these build warnings for MIPS/Loongson. Signed-off-by: Huacai Chen <[email protected]> Reviewed-by: Masahiro Yamada <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]> (cherry picked from commit 3376910 https://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git mips-next) Signed-off-by: Kexy Biscuit <[email protected]>
1 parent 2812162 commit 4c50a27

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/mips/loongson64/setup.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* Copyright (C) 2007 Lemote Inc. & Institute of Computing Technology
44
* Author: Fuxin Zhang, [email protected]
55
*/
6-
#include <linux/export.h>
76
#include <linux/init.h>
87

98
#include <asm/bootinfo.h>

0 commit comments

Comments
 (0)