]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/sysfs/dir.c
sysfs: merge regular and bin file handling
[karo-tx-linux.git] / fs / sysfs / dir.c
index c4040ddb8308ee2dd1313a87d01292815732c76f..f6025c81bfd5e0cbfcd5aefb20353f4fd1da17b8 100644 (file)
@@ -596,7 +596,6 @@ void sysfs_addrm_finish(struct sysfs_addrm_cxt *acxt)
 
                sysfs_deactivate(sd);
                sysfs_unmap_bin_file(sd);
-               unmap_bin_file(sd);
                sysfs_put(sd);
        }
 }