[PATCH 14/14] kernel/exit.c and kernel/panic.c: Remove unused NORET_TYPE

From: Joe Perches
Date: Wed Dec 16 2009 - 03:11:37 EST


Make the functions match the prototypes in <linux/kernel.h>
It's defined to nothing and useless

Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
---
kernel/exit.c | 4 ++--
kernel/panic.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/kernel/exit.c b/kernel/exit.c
index 5962d7c..ebb485c 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -886,7 +886,7 @@ static void check_stack_usage(void)
static inline void check_stack_usage(void) {}
#endif

-NORET_TYPE void do_exit(long code)
+void do_exit(long code)
{
struct task_struct *tsk = current;
int group_dead;
@@ -1029,7 +1029,7 @@ NORET_TYPE void do_exit(long code)

EXPORT_SYMBOL_GPL(do_exit);

-NORET_TYPE void complete_and_exit(struct completion *comp, long code)
+void complete_and_exit(struct completion *comp, long code)
{
if (comp)
complete(comp);
diff --git a/kernel/panic.c b/kernel/panic.c
index 96b45d0..08d24b2 100644
--- a/kernel/panic.c
+++ b/kernel/panic.c
@@ -52,7 +52,7 @@ EXPORT_SYMBOL(panic_blink);
*
* This function never returns.
*/
-NORET_TYPE void panic(const char * fmt, ...)
+void panic(const char * fmt, ...)
{
static char buf[1024];
va_list args;
--
1.6.6.rc0.57.gad7a

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/