Skip to contentSkip to conversation

make blk_ioc_init() static

PATCH New Adrian Bunk 1 participant 1 message Feb 13, 2008 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make blk_ioc_init() static

blk_ioc_init() can become static.

---
6df9a0aeeeac4ae589ee18ffbdf4897ab36d7233 diff --git a/block/blk-ioc.c b/block/blk-ioc.c index 80245dc..4ae0929 100644

block/blk-ioc.c +1 -1
@@ -176,7 +176,7 @@ void copy_io_context(struct io_context **pdst, struct io_context **psrc)
 }
 EXPORT_SYMBOL(copy_io_context);
 
-int __init blk_ioc_init(void)
+static int __init blk_ioc_init(void)
 {
 	iocontext_cachep = kmem_cache_create("blkdev_ioc",
 			sizeof(struct io_context), 0, SLAB_PANIC, NULL);