Skip to content

Commit 8d7829e

Browse files
Tom Rixaxboe
authored andcommitted
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 c1c8038 ("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>
1 parent 4a3b666 commit 8d7829e

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

block/blk-wbt.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,6 @@ u64 wbt_default_latency_nsec(struct request_queue *);
101101

102102
#else
103103

104-
static inline void wbt_track(struct request *rq, enum wbt_flags flags)
105-
{
106-
}
107104
static inline int wbt_init(struct request_queue *q)
108105
{
109106
return -EINVAL;

0 commit comments

Comments
 (0)