[PATCH 10/10] block: don't include bug.h from bio.h

Christoph Hellwig hch at lst.de
Mon Sep 24 00:43:55 PDT 2018


No need to pull in the BUG() defintion.

Signed-off-by: Christoph Hellwig <hch at lst.de>
---
 include/linux/bio.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/bio.h b/include/linux/bio.h
index b3d47862b1b4..f447b0ebb288 100644
--- a/include/linux/bio.h
+++ b/include/linux/bio.h
@@ -21,7 +21,6 @@
 #include <linux/highmem.h>
 #include <linux/mempool.h>
 #include <linux/ioprio.h>
-#include <linux/bug.h>
 
 #ifdef CONFIG_BLOCK
 /* struct bio, bio_vec and BIO_* flags are defined in blk_types.h */
-- 
2.19.0




More information about the linux-arm-kernel mailing list