From mboxrd@z Thu Jan 1 00:00:00 1970 From: jason@lakedaemon.net (Jason Cooper) Date: Sat, 26 Jan 2013 15:22:08 -0500 Subject: [RFC V2 PATCH 3/8] ARM: kirkwood: nsa310: cleanup includes and unneeded code In-Reply-To: <510437CC.1040106@mvista.com> References: <31142087d93c2713d067f4ccf470810e6e71f17b.1359091286.git.jason@lakedaemon.net> <510437CC.1040106@mvista.com> Message-ID: <20130126202208.GR1758@titan.lakedaemon.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Sun, Jan 27, 2013 at 12:08:44AM +0400, Sergei Shtylyov wrote: > Hello. > > On 25-01-2013 9:32, Jason Cooper wrote: > > >Signed-off-by: Jason Cooper > >--- > > arch/arm/mach-kirkwood/board-nsa310.c | 9 +-------- > > 1 file changed, 1 insertion(+), 8 deletions(-) > > >diff --git a/arch/arm/mach-kirkwood/board-nsa310.c b/arch/arm/mach-kirkwood/board-nsa310.c > >index 1bd328d..0b99533 100644 > >--- a/arch/arm/mach-kirkwood/board-nsa310.c > >+++ b/arch/arm/mach-kirkwood/board-nsa310.c > >@@ -10,11 +10,8 @@ > > > > #include > > #include > >-#include > >- > >-#include > >-#include > > #include > >+#include > > You also add an #include and don't mention it anywhere. Or is > that part of the cleanup? After removing the unneeded linux/i2c.h, linux/of.h was needed for of_machine_is_compatible(). i2c.h had included of.h. thanks for the review, Jason.