[PATCH] kernel: Remove unneeded return from void function
From: Guillaume Gomez
Date: Wed Sep 23 2015 - 06:27:29 EST
Signed-off-by: Guillaume Gomez <guillaume1.gomez@xxxxxxxxx>
---
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
--
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/