aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev_compat.h
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2014-07-06 21:05:40 -0400
committerRichard Yao <[email protected]>2015-09-04 15:37:24 -0400
commitf952eaa7ec48eb72ccff31ce74e4699caebf565d (patch)
treee1ce17dad5d82ec9c9c9bf0eb9f487c030951435 /include/linux/blkdev_compat.h
parentf8c56b405d24d8b1342e2b7409de1b1f4548d4ca (diff)
Remove blk_rq_pos() autotools check
Signed-off-by: Richard Yao <[email protected]>
Diffstat (limited to 'include/linux/blkdev_compat.h')
-rw-r--r--include/linux/blkdev_compat.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/blkdev_compat.h b/include/linux/blkdev_compat.h
index 2eb250ba9..2842af7e3 100644
--- a/include/linux/blkdev_compat.h
+++ b/include/linux/blkdev_compat.h
@@ -53,14 +53,6 @@ __blk_queue_flush(struct request_queue *q, unsigned int flags)
}
#endif /* HAVE_BLK_QUEUE_FLUSH && HAVE_BLK_QUEUE_FLUSH_GPL_ONLY */
-#ifndef HAVE_BLK_RQ_POS
-static inline sector_t
-blk_rq_pos(struct request *req)
-{
- return (req->sector);
-}
-#endif /* HAVE_BLK_RQ_POS */
-
#ifndef HAVE_BLK_RQ_SECTORS
static inline unsigned int
blk_rq_sectors(struct request *req)