* [PATCH] kernel: Remove unneeded return from void function
@ 2015-09-23 10:27 Guillaume Gomez
0 siblings, 0 replies; 4+ messages in thread
From: Guillaume Gomez @ 2015-09-23 10:27 UTC (permalink / raw)
To: linux-kernel
Signed-off-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
---
include/linux/device.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/device.h b/include/linux/device.h
index 5d7bc63..d0823c2 100644
--- a/include/linux/device.h
+++ b/include/linux/device.h
@@ -477,7 +477,7 @@ static inline int __must_check
class_create_file(struct class *class,
static inline void class_remove_file(struct class *class,
const struct class_attribute *attr)
{
- return class_remove_file_ns(class, attr, NULL);
+ class_remove_file_ns(class, attr, NULL);
}
/* Simple class attribute that is just a static string */
--
2.1.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] kernel: Remove unneeded return from void function
2015-09-23 10:34 Guillaume Gomez
2015-09-23 14:23 ` Christoph Lameter
@ 2015-09-23 15:01 ` Tejun Heo
1 sibling, 0 replies; 4+ messages in thread
From: Tejun Heo @ 2015-09-23 15:01 UTC (permalink / raw)
To: Guillaume Gomez; +Cc: cl, linux-kernel
On Wed, Sep 23, 2015 at 12:34:30PM +0200, Guillaume Gomez wrote:
> Signed-off-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
Applied to percpu/for-4.4.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] kernel: Remove unneeded return from void function
2015-09-23 10:34 Guillaume Gomez
@ 2015-09-23 14:23 ` Christoph Lameter
2015-09-23 15:01 ` Tejun Heo
1 sibling, 0 replies; 4+ messages in thread
From: Christoph Lameter @ 2015-09-23 14:23 UTC (permalink / raw)
To: Guillaume Gomez; +Cc: tj, linux-kernel
Acked-by: Christoph Lameter <cl@linux.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] kernel: Remove unneeded return from void function
@ 2015-09-23 10:34 Guillaume Gomez
2015-09-23 14:23 ` Christoph Lameter
2015-09-23 15:01 ` Tejun Heo
0 siblings, 2 replies; 4+ messages in thread
From: Guillaume Gomez @ 2015-09-23 10:34 UTC (permalink / raw)
To: tj, cl, linux-kernel
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-09-23 15:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-23 10:27 [PATCH] kernel: Remove unneeded return from void function Guillaume Gomez
2015-09-23 10:34 Guillaume Gomez
2015-09-23 14:23 ` Christoph Lameter
2015-09-23 15:01 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).