fs/notify/notification.c: make subsys_initcall static
PATCH 1/1 fs/notify/notification.c: make subsys_initcall static
The symbol fsnotify_notification_init is a subsys_initcall and can be declared static.
Signed-off-by H Hartley Sweeten <[email protected]>
Cc Eric Paris <[email protected]>
Cc Andreas Gruenbacher <[email protected]>
---
fs/notify/notification.c +1 -1
@@ -447,7 +447,7 @@ struct fsnotify_event *fsnotify_create_event(struct inode *to_tell, __u32 mask,return event; } -__init int fsnotify_notification_init (void ) +static __init int fsnotify_notification_init (void ) { fsnotify_event_cachep =KMEM_CACHE (fsnotify_event,SLAB_PANIC ); fsnotify_event_holder_cachep =KMEM_CACHE (fsnotify_event_holder,SLAB_PANIC );
Eric Paris
AppliedQuoted 6 lines · H Hartley Sweeten
The symbol
fsnotify_notification_initis asubsys_initcalland can be declared static.Signed-off-by H Hartley Sweeten <[email protected]>Cc Eric Paris <[email protected]>Cc Andreas Gruenbacher <[email protected]>
Applied. Thanks and sorry to be so slow.
-Eric