[UNNECESSARY PATCH 08/16] signal: Remove unnecessary return
From: Joe Perches
Date: Sun Nov 16 2014 - 15:09:53 EST
void functions don't need returns and end of function definition.
Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
---
kernel/signal.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/signal.c b/kernel/signal.c
index baddb92..ccd57a3 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -996,7 +996,6 @@ static void complete_signal(int sig, struct task_struct *p, int group)
* Tell the chosen thread to wake up and dequeue it.
*/
signal_wake_up(t, sig == SIGKILL);
- return;
}
static inline int legacy_queue(struct sigpending *signals, int sig)
--
2.1.2
--
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/