Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1231323

[PATCH] kernel: Remove unneeded return from void function

From Guillaume Gomez <guillaume1.gomez@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] kernel: Remove unneeded return from void function
Date 2015-09-23 12:40 +0200
Message-ID <qbPCW-1wv-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Signed-off-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
---
 include/linux/percpu-refcount.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/percpu-refcount.h b/include/linux/percpu-refcount.h
index 12c9b48..84f542d 100644
--- a/include/linux/percpu-refcount.h
+++ b/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);
 }

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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] kernel: Remove unneeded return from void function Guillaume Gomez <guillaume1.gomez@gmail.com> - 2015-09-23 12:40 +0200
  Re: [PATCH] kernel: Remove unneeded return from void function Christoph Lameter <cl@linux.com> - 2015-09-23 16:30 +0200
  Re: [PATCH] kernel: Remove unneeded return from void function Tejun Heo <tj@kernel.org> - 2015-09-23 17:10 +0200

csiph-web