summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2022-03-31 11:54:58 -0700
committerJens Axboe <axboe@kernel.dk>2022-03-31 12:58:38 -0600
commit8d7829ebc1e48208b3c02c2a10c5f8856246033c (patch)
tree30c292a1943dc17f540c2115b25671882fda5a32 /block
parent4a3b666e0ea977dd40adb56c37a91370f76fa19e (diff)
downloadlinux-8d7829ebc1e48208b3c02c2a10c5f8856246033c.tar.bz2
blk-wbt: remove wbt_track stub
cppcheck returns this warning [block/blk-wbt.h:104] -> [block/blk-wbt.c:592]: (warning) Function 'wbt_track' argument order different: declaration 'rq, flags, ' definition 'rqos, rq, bio' In commit c1c80384c8f4 ("block: remove external dependency on wbt_flags") wbt_track was removed for the real declaration, its stub should have been as well. Signed-off-by: Tom Rix <trix@redhat.com> Link: https://lore.kernel.org/r/20220331185458.3427454-1-trix@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/blk-wbt.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/block/blk-wbt.h b/block/blk-wbt.h
index 2eb01becde8c..7e44eccc676d 100644
--- a/block/blk-wbt.h
+++ b/block/blk-wbt.h
@@ -101,9 +101,6 @@ u64 wbt_default_latency_nsec(struct request_queue *);
#else
-static inline void wbt_track(struct request *rq, enum wbt_flags flags)
-{
-}
static inline int wbt_init(struct request_queue *q)
{
return -EINVAL;