[2.6 patch] make blk_ioc_init() static

From: Adrian Bunk
Date: Wed Feb 13 2008 - 16:34:14 EST


blk_ioc_init() can become static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---
6df9a0aeeeac4ae589ee18ffbdf4897ab36d7233 diff --git a/block/blk-ioc.c b/block/blk-ioc.c
index 80245dc..4ae0929 100644
--- a/block/blk-ioc.c
+++ b/block/blk-ioc.c
@@ -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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/