mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 09:16:33 +00:00
make blk_ioc_init() static
blk_ioc_init() can become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Jens Axboe <axboe@carl.home.kernel.dk>
This commit is contained in:
parent
5ece6c52ea
commit
1334159826
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user