Skip to content
Commit 943c4d90 authored by Wei Yongjun's avatar Wei Yongjun Committed by Jens Axboe
Browse files

block: make blk_timeout_init() static



The sparse tool complains as follows:

block/blk-timeout.c:93:12: warning:
 symbol 'blk_timeout_init' was not declared. Should it be static?

Function blk_timeout_init() is not used outside of blk-timeout.c, so
mark it static.

Fixes: 9054650f ("block: relax jiffies rounding for timeouts")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent ab96bbab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment