]> git.baikalelectronics.ru Git - kernel.git/commit
include/linux/radix-tree.h: remove unneeded #include <linux/bug.h>
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 17 Nov 2017 23:27:53 +0000 (15:27 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 18 Nov 2017 00:10:01 +0000 (16:10 -0800)
commit1ce28fe9f517ba296900424b1421cdcb9c2f6fa2
treeb684dfa8aa735e99467d8c426a30ccd8b08fd62d
parenta0a4c239597e73736378b727756216b44cd58a81
include/linux/radix-tree.h: remove unneeded #include <linux/bug.h>

This include was added by commit 07b6189f5fa1 ("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 724999618099 ("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/1505660151-4383-1-git-send-email-yamada.masahiro@socionext.com
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Matthew Wilcox <mawilcox@microsoft.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Chris Mi <chrism@mellanox.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/radix-tree.h