]> Git Repo - linux.git/commitdiff
include/linux/radix-tree.h: remove unneeded #include <linux/bug.h>
authorMasahiro Yamada <[email protected]>
Fri, 17 Nov 2017 23:27:53 +0000 (15:27 -0800)
committerLinus Torvalds <[email protected]>
Sat, 18 Nov 2017 00:10:01 +0000 (16:10 -0800)
This include was added by commit 187f1882b5b0 ("BUG: headers with
BUG/BUG_ON etc. need linux/bug.h") because BUG_ON() was used in this
header at that time.

Some time later, commit 6d75f366b924 ("lib: radix-tree: check accounting
of existing slot replacement users") removed the use of BUG_ON() from
this header.

Since then, there is no reason to include <linux/bug.h>.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Masahiro Yamada <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Jan Kara <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Chris Mi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/radix-tree.h

index 0ca448c1cb42f32a09c8ad607ee15d1169fcb1ae..23a9c89c7ad9627637a31675af7be4c5bdf070b8 100644 (file)
@@ -22,7 +22,6 @@
 #define _LINUX_RADIX_TREE_H
 
 #include <linux/bitops.h>
-#include <linux/bug.h>
 #include <linux/kernel.h>
 #include <linux/list.h>
 #include <linux/preempt.h>
This page took 0.05621 seconds and 4 git commands to generate.