diff options
Diffstat (limited to 'fs/sysfs/dir.c')
-rw-r--r-- | fs/sysfs/dir.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c index 4ad9422566a8..e301a1207b60 100644 --- a/fs/sysfs/dir.c +++ b/fs/sysfs/dir.c | |||
@@ -318,7 +318,6 @@ struct sysfs_dirent *sysfs_new_dirent(const char *name, umode_t mode, int type) | |||
318 | 318 | ||
319 | atomic_set(&sd->s_count, 1); | 319 | atomic_set(&sd->s_count, 1); |
320 | atomic_set(&sd->s_active, 0); | 320 | atomic_set(&sd->s_active, 0); |
321 | atomic_set(&sd->s_event, 1); | ||
322 | 321 | ||
323 | sd->s_name = name; | 322 | sd->s_name = name; |
324 | sd->s_mode = mode; | 323 | sd->s_mode = mode; |