]> git.hungrycats.org Git - linux/commitdiff
sysfs: fix warning.
authorPatrick Mochel <mochel@osdl.org>
Tue, 4 Mar 2003 02:57:38 +0000 (20:57 -0600)
committerPatrick Mochel <mochel@osdl.org>
Tue, 4 Mar 2003 02:57:38 +0000 (20:57 -0600)
From Andrew Morton

fs/sysfs/bin.c

index d481b6ef17ef48a4fbfd33a4962b2fcb6041415a..78166493a274932ae193b4706bd96236f581a822 100644 (file)
@@ -226,6 +226,7 @@ int sysfs_create_bin_file(struct kobject * kobj, struct bin_attribute * attr)
 int sysfs_remove_bin_file(struct kobject * kobj, struct bin_attribute * attr)
 {
        sysfs_hash_and_remove(kobj->dentry,attr->attr.name);
+       return 0;
 }
 
 EXPORT_SYMBOL(sysfs_create_bin_file);