[lkml]   [2017]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] radix-tree: remove unneeded #include <linux/bug.h>
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>.

Signed-off-by: Masahiro Yamada <>

include/linux/radix-tree.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/linux/radix-tree.h b/include/linux/radix-tree.h
index 567ebb5eaab0..8212e856a736 100644
--- a/include/linux/radix-tree.h
+++ b/include/linux/radix-tree.h
@@ -22,7 +22,6 @@

#include <linux/bitops.h>
-#include <linux/bug.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/preempt.h>
 \ /
  Last update: 2017-09-17 16:57    [W:0.022 / U:0.136 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site