mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
sysfs.h: don't return a void-valued expression in sysfs_remove_file
Sparse was complaining about that: include/linux/sysfs.h:432:9: warning: returning void-valued expression Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
451ef1caa8
commit
78e1da6270
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ static inline int __must_check sysfs_create_file(struct kobject *kobj,
|
|||
static inline void sysfs_remove_file(struct kobject *kobj,
|
||||
const struct attribute *attr)
|
||||
{
|
||||
return sysfs_remove_file_ns(kobj, attr, NULL);
|
||||
sysfs_remove_file_ns(kobj, attr, NULL);
|
||||
}
|
||||
|
||||
static inline int sysfs_rename_link(struct kobject *kobj, struct kobject *target,
|
||||
|
|
Loading…
Reference in a new issue