aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorRichard Yao <ryao@gentoo.org>2014-07-06 20:40:04 -0400
committerRichard Yao <ryao@gentoo.org>2015-09-04 15:37:24 -0400
commitf8c56b405d24d8b1342e2b7409de1b1f4548d4ca (patch)
treea514645ae7f0b4d5929e65f0f65d3a2ce270f4a1 /include/linux
parente8c6be131cfd2ed87a1584e53e7702f8681efefa (diff)
Remove blk_fetch_request() autotools check
Signed-off-by: Richard Yao <ryao@gentoo.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/blkdev_compat.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/linux/blkdev_compat.h b/include/linux/blkdev_compat.h
index ba4e97636..2eb250ba9 100644
--- a/include/linux/blkdev_compat.h
+++ b/include/linux/blkdev_compat.h
@@ -36,20 +36,6 @@
typedef unsigned __bitwise__ fmode_t;
#endif /* HAVE_FMODE_T */
-#ifndef HAVE_BLK_FETCH_REQUEST
-static inline struct request *
-blk_fetch_request(struct request_queue *q)
-{
- struct request *req;
-
- req = elv_next_request(q);
- if (req)
- blkdev_dequeue_request(req);
-
- return (req);
-}
-#endif /* HAVE_BLK_FETCH_REQUEST */
-
/*
* 2.6.36 API change,
* The blk_queue_flush() interface has replaced blk_queue_ordered()