cfq-iosched.c: make some code static
PATCH 1/1 cfq-iosched.c: make some code static
This patch makes some needlessly global code static.
Signed-off-by Adrian Bunk <[email protected]>
drivers/block/cfq-iosched.c renamed from drivers/block/cfq-iosched.c.old +2 -2
@@ -1790,7 +1790,7 @@ .store = cfq_attr_store, }; -struct kobj_type cfq_ktype = { +static struct kobj_type cfq_ktype = { .sysfs_ops = &cfq_sysfs_ops, .default_attrs = default_attrs, };
@@ -1819,7 +1819,7 @@ .elevator_owner = THIS_MODULE, }; -int cfq_init (void ) +static int cfq_init (void ) {int ret;