mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-23 16:53:58 -05: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue