Skip to content

Commit

Permalink
make blk_ioc_init() static
Browse files Browse the repository at this point in the history
blk_ioc_init() can become static.

Signed-off-by: Adrian Bunk <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
AdrianBunk authored and Jens Axboe committed Feb 19, 2008
1 parent 5ece6c5 commit 1334159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion block/blk-ioc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1334159

Please sign in to comment.