diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2020-07-17 18:00:02 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-17 07:13:42 -0600 |
commit | 943c4d9074aa05b86af89eec25330c1995e807c9 (patch) | |
tree | fdb3b7f67ed829e4a47b589c5bc36fc352b2a930 /block/blk-mq-debugfs.c | |
parent | ab96bbab467c884ad684c5f669c91272a0455087 (diff) | |
download | linux-943c4d9074aa05b86af89eec25330c1995e807c9.tar.gz linux-943c4d9074aa05b86af89eec25330c1995e807c9.tar.bz2 linux-943c4d9074aa05b86af89eec25330c1995e807c9.zip |
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: 9054650fac24 ("block: relax jiffies rounding for timeouts")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-debugfs.c')
0 files changed, 0 insertions, 0 deletions