Skip to content

Commit 9710a78

Browse files
H Hartley Sweetentorvalds
authored andcommitted
fs/notify/notification.c: make subsys_initcall function static
Signed-off-by: H Hartley Sweeten <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Mike Frysinger <[email protected]> Cc: Arun Sharma <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 03ff3ef commit 9710a78

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

fs/notify/notification.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ struct fsnotify_event *fsnotify_create_event(struct inode *to_tell, __u32 mask,
447447
return event;
448448
}
449449

450-
__init int fsnotify_notification_init(void)
450+
static __init int fsnotify_notification_init(void)
451451
{
452452
fsnotify_event_cachep = KMEM_CACHE(fsnotify_event, SLAB_PANIC);
453453
fsnotify_event_holder_cachep = KMEM_CACHE(fsnotify_event_holder, SLAB_PANIC);
@@ -461,4 +461,3 @@ __init int fsnotify_notification_init(void)
461461
return 0;
462462
}
463463
subsys_initcall(fsnotify_notification_init);
464-

0 commit comments

Comments
 (0)