summaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev_compat.h
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2015-08-31 16:11:45 -0700
committerBrian Behlendorf <[email protected]>2015-09-01 09:33:18 -0700
commit97771edaca2cac5905571f1355dd2b6256a306b4 (patch)
treebe1c22912594f8d61203f0c1f12117139e49f6c4 /include/linux/blkdev_compat.h
parent3c119330a6b4e166f85c3b07ae011231f9253dee (diff)
Remove blk_queue_io_opt() autotools check
This is needed for supporting kernels earlier than 2.6.30. Support for those kernels was dropped, so we can safely remove this check. Signed-off-by: Richard Yao <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'include/linux/blkdev_compat.h')
-rw-r--r--include/linux/blkdev_compat.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/blkdev_compat.h b/include/linux/blkdev_compat.h
index 591602bc9..ef6fa3bbd 100644
--- a/include/linux/blkdev_compat.h
+++ b/include/linux/blkdev_compat.h
@@ -228,15 +228,6 @@ __blk_queue_max_segments(struct request_queue *q, unsigned short max_segments)
}
#endif
-/*
- * 2.6.30 API change,
- * The blk_queue_io_opt() function was added to indicate the optimal
- * I/O size for the device. For older kernels this is a no-op.
- */
-#ifndef HAVE_BLK_QUEUE_IO_OPT
-#define blk_queue_io_opt(q, x) ((void)(0))
-#endif
-
#ifndef HAVE_GET_DISK_RO
static inline int
get_disk_ro(struct gendisk *disk)