diff options
author | Jens Axboe <axboe@fb.com> | 2017-04-21 15:55:42 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-21 15:56:23 +0200 |
commit | 99c749a4c4f4ea2c9eee01f81f79bdbf26c3914e (patch) | |
tree | 71cdbf2a4d9bcaeb26487403f88a66011f3ecfe9 /block/blk-stat.c | |
parent | nbd: set the max segments to USHRT_MAX (diff) | |
download | linux-99c749a4c4f4ea2c9eee01f81f79bdbf26c3914e.tar.xz linux-99c749a4c4f4ea2c9eee01f81f79bdbf26c3914e.zip |
blk-stat: kill blk_stat_rq_ddir()
No point in providing and exporting this helper. There's just
one (real) user of it, just use rq_data_dir().
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-stat.c')
-rw-r--r-- | block/blk-stat.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/block/blk-stat.c b/block/blk-stat.c index dde9d399f707..6c2f40940439 100644 --- a/block/blk-stat.c +++ b/block/blk-stat.c @@ -19,12 +19,6 @@ struct blk_queue_stats { bool enable_accounting; }; -int blk_stat_rq_ddir(const struct request *rq) -{ - return rq_data_dir(rq); -} -EXPORT_SYMBOL_GPL(blk_stat_rq_ddir); - static void blk_stat_init(struct blk_rq_stat *stat) { stat->min = -1ULL; |