]> err.no Git - linux-2.6/commitdiff
make blk_ioc_init() static
authorAdrian Bunk <bunk@kernel.org>
Mon, 18 Feb 2008 12:45:53 +0000 (13:45 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 19 Feb 2008 09:04:00 +0000 (10:04 +0100)
blk_ioc_init() can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jens Axboe <axboe@carl.home.kernel.dk>
block/blk-ioc.c

index 80245dc30c75798d33089b99e14e80a746b8d50f..4ae0929c6e387b769dda8287580ad1b8b51e784a 100644 (file)
@@ -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);