mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 08:03:01 +09:00
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>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user