aboutsummaryrefslogtreecommitdiffstats
path: root/config/kernel-blk-rq-pos.m4
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 /config/kernel-blk-rq-pos.m4
parentf8c56b405d24d8b1342e2b7409de1b1f4548d4ca (diff)
Remove blk_rq_pos() autotools check
Signed-off-by: Richard Yao <[email protected]>
Diffstat (limited to 'config/kernel-blk-rq-pos.m4')
-rw-r--r--config/kernel-blk-rq-pos.m421
1 files changed, 0 insertions, 21 deletions
diff --git a/config/kernel-blk-rq-pos.m4 b/config/kernel-blk-rq-pos.m4
deleted file mode 100644
index efa595f89..000000000
--- a/config/kernel-blk-rq-pos.m4
+++ /dev/null
@@ -1,21 +0,0 @@
-dnl #
-dnl # 2.6.31 API change
-dnl #
-AC_DEFUN([ZFS_AC_KERNEL_BLK_RQ_POS], [
- AC_MSG_CHECKING([whether blk_rq_pos() is available])
- tmp_flags="$EXTRA_KCFLAGS"
- EXTRA_KCFLAGS="${NO_UNUSED_BUT_SET_VARIABLE}"
- ZFS_LINUX_TRY_COMPILE([
- #include <linux/blkdev.h>
- ],[
- struct request *req = NULL;
- (void) blk_rq_pos(req);
- ],[
- AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_BLK_RQ_POS, 1,
- [blk_rq_pos() is available])
- ],[
- AC_MSG_RESULT(no)
- ])
- EXTRA_KCFLAGS="$tmp_flags"
-])