mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 04:20:53 +07: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);
|
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",
|
iocontext_cachep = kmem_cache_create("blkdev_ioc",
|
||||||
sizeof(struct io_context), 0, SLAB_PANIC, NULL);
|
sizeof(struct io_context), 0, SLAB_PANIC, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user