summaryrefslogtreecommitdiff
path: root/include/linux/bio.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-10-12 19:17:57 +0300
committerJens Axboe <axboe@kernel.dk>2021-10-18 15:17:34 +0300
commit9e8c0d0d4d21d2c2c60132e2c18a73d08a230b42 (patch)
treeab09e024034f211f9bdb61c5e7c83ff55a3f01b2 /include/linux/bio.h
parente9ea15963f3b9d979e1d6d758b8e407775ae6588 (diff)
downloadlinux-9e8c0d0d4d21d2c2c60132e2c18a73d08a230b42.tar.xz
block: remove BIO_BUG_ON
BIO_DEBUG is always defined, so just switch the two instances to use BUG_ON directly. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20211012161804.991559-2-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/bio.h')
-rw-r--r--include/linux/bio.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h
index 00952e92eae1..65a356fa7110 100644
--- a/include/linux/bio.h
+++ b/include/linux/bio.h
@@ -11,14 +11,6 @@
#include <linux/blk_types.h>
#include <linux/uio.h>
-#define BIO_DEBUG
-
-#ifdef BIO_DEBUG
-#define BIO_BUG_ON BUG_ON
-#else
-#define BIO_BUG_ON
-#endif
-
#define BIO_MAX_VECS 256U
static inline unsigned int bio_max_segs(unsigned int nr_segs)