Browse Source

percpu: Remove unneeded return from void function

Signed-off-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Guillaume Gomez 10 years ago
parent
commit
4d4142696e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/linux/percpu-refcount.h

+ 1 - 1
include/linux/percpu-refcount.h

@@ -116,7 +116,7 @@ void percpu_ref_reinit(struct percpu_ref *ref);
  */
 static inline void percpu_ref_kill(struct percpu_ref *ref)
 {
-	return percpu_ref_kill_and_confirm(ref, NULL);
+	percpu_ref_kill_and_confirm(ref, NULL);
 }
 
 /*