2007-08-01 17:59:38

by Michal Piotrowski

[permalink] [raw]
Subject: [RFC][PATCH] Removal of duplicated include net/wanrouter/wanmain.c

Hi,

There is no need to include linux/init.h twice

Regards,
Michal

--
LOG
http://www.stardust.webpages.pl/log/

Signed-off-by: Michal Piotrowski <[email protected]>

--- linux-mm-clean/net/wanrouter/wanmain.c 2007-07-09 01:32:17.000000000 +0200
+++ linux-mm/net/wanrouter/wanmain.c 2007-08-01 18:14:22.000000000 +0200
@@ -46,7 +46,6 @@
#include <linux/capability.h>
#include <linux/errno.h> /* return codes */
#include <linux/kernel.h>
-#include <linux/init.h>
#include <linux/module.h> /* support for loadable modules */
#include <linux/slab.h> /* kmalloc(), kfree() */
#include <linux/mm.h>


2007-08-02 04:51:06

by David Miller

[permalink] [raw]
Subject: Re: [RFC][PATCH] Removal of duplicated include net/wanrouter/wanmain.c

From: Michal Piotrowski <[email protected]>
Date: Wed, 01 Aug 2007 19:58:53 +0200

> Hi,
>
> There is no need to include linux/init.h twice
...
> Signed-off-by: Michal Piotrowski <[email protected]>

Patch applied, thanks.