summaryrefslogtreecommitdiff
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-06-01 20:33:33 +0300
committerMark Brown <broonie@kernel.org>2021-06-01 20:33:33 +0300
commit1a435466b0d470eb9095da0efefea5f7f69acf9c (patch)
treea661a705f8236cf7bd86ff250de2f627c9f0a333 /include/linux/blkdev.h
parent5cb4e1f33e5eeadbce3814282e010d4dd31816af (diff)
parent2ec6f20b33eb4f62ab90bdcd620436c883ec3af6 (diff)
downloadlinux-1a435466b0d470eb9095da0efefea5f7f69acf9c.tar.xz
Merge branch 'for-5.13' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi into spi-5.14
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 1255823b2bc0..f69c75bd6d27 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -676,11 +676,6 @@ bool blk_queue_flag_test_and_set(unsigned int flag, struct request_queue *q);
extern void blk_set_pm_only(struct request_queue *q);
extern void blk_clear_pm_only(struct request_queue *q);
-static inline bool blk_account_rq(struct request *rq)
-{
- return (rq->rq_flags & RQF_STARTED) && !blk_rq_is_passthrough(rq);
-}
-
#define list_entry_rq(ptr) list_entry((ptr), struct request, queuelist)
#define rq_data_dir(rq) (op_is_write(req_op(rq)) ? WRITE : READ)