Messages in this thread Patch in this message | | | Date | Wed, 23 Sep 2015 12:27:25 +0200 | Subject | [PATCH] kernel: Remove unneeded return from void function | From | Guillaume Gomez <> |
| |
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
| |