Skip to contentSkip to conversation

+ init-mainc-remove-unused-declaractions-of-mca_init-and-sbus_init.patch added to -mm tree

PATCH [email protected] 1 participant 1 message Jan 24, 2014

lore
Share & tools
lore
#0 lore raw

Subject: + init-mainc-remove-unused-declaractions-of-mca_init-and-sbus_init.patch added to -mm tree
To: [email protected]
From: [email protected]
Date: Fri, 24 Jan 2014 12:32:27 -0800

The patch titled
Subject: init/main.c: remove unused declaractions of mca_init() and sbus_init()
has been added to the -mm tree. Its filename is
init-mainc-remove-unused-declaractions-of-mca_init-and-sbus_init.patch

This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/init-mainc-remove-unused-declaractions-of-mca_init-and-sbus_init.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/init-mainc-remove-unused-declaractions-of-mca_init-and-sbus_init.patch

Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated there every 3-4 working days

------------------------------------------------------
From: Kang Hu <[email protected]>
Subject: init/main.c: remove unused declaractions of mca_init() and sbus_init()

mca_init() no longer exists.
sbus_init() is defined in arch/sparc/kernel/sbus.c and is a subsys_initcall. both are not needed in main.c any more.

---

 init/main.c |    2 --
 1 file changed, 2 deletions(-)
init/main.c renamed from init/main.c~init-mainc-remove-unused-declaractions-of-mca_init-and-sbus_init +0 -2
diff -puN init/main.c~init-mainc-remove-unused-declaractions-of-mca_init-and-sbus_init init/main.c
@@ -92,8 +92,6 @@ static int kernel_init(void *);
 
 extern void init_IRQ(void);
 extern void fork_init(unsigned long);
-extern void mca_init(void);
-extern void sbus_init(void);
 extern void radix_tree_init(void);
 #ifndef CONFIG_DEBUG_RODATA
 static inline void mark_rodata_ro(void) { }

_

Patches currently in -mm which might be from [email protected] are

init-mainc-remove-unused-declaractions-of-mca_init-and-sbus_init.patch