diff options
author | Christoph Hellwig <hch@lst.de> | 2021-10-12 18:17:57 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-18 06:17:34 -0600 |
commit | 9e8c0d0d4d21d2c2c60132e2c18a73d08a230b42 (patch) | |
tree | ab09e024034f211f9bdb61c5e7c83ff55a3f01b2 /include/linux/bio.h | |
parent | e9ea15963f3b9d979e1d6d758b8e407775ae6588 (diff) | |
download | lwn-9e8c0d0d4d21d2c2c60132e2c18a73d08a230b42.tar.gz lwn-9e8c0d0d4d21d2c2c60132e2c18a73d08a230b42.zip |
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.h | 8 |
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) |