blk-wbt: Declare local functions static
authorBart Van Assche <bvanassche@acm.org>
Wed, 23 Jan 2019 19:05:57 +0000 (11:05 -0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 24 Jan 2019 18:09:21 +0000 (11:09 -0700)
commitc83f536a87d9dd6d6bf989c0b0882459a902eb07
tree4d76f7d43c01afa9f29eb35a6507c3c03f24ffa8
parent1c26010c5e1b9ad22a77968428b68150d27ae65f
blk-wbt: Declare local functions static

This patch avoids that sparse reports the following warnings:

  CHECK   block/blk-wbt.c
block/blk-wbt.c:600:6: warning: symbol 'wbt_issue' was not declared. Should it be static?
block/blk-wbt.c:620:6: warning: symbol 'wbt_requeue' was not declared. Should it be static?
  CC      block/blk-wbt.o
block/blk-wbt.c:600:6: warning: no previous prototype for wbt_issue [-Wmissing-prototypes]
 void wbt_issue(struct rq_qos *rqos, struct request *rq)
      ^~~~~~~~~
block/blk-wbt.c:620:6: warning: no previous prototype for wbt_requeue [-Wmissing-prototypes]
 void wbt_requeue(struct rq_qos *rqos, struct request *rq)
      ^~~~~~~~~~~

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-wbt.c