powerpc/mpc5200: remove unused #include <version.h>

Subsystems: linux for powerpc (32-bit and 64-bit), the rest · Maintainers: Madhavan Srinivasan, Linus Torvalds

2 messages, 2 authors, 2008-08-23 · open the first message on its own page

powerpc/mpc5200: remove unused #include <version.h>

From: Huang Weiyi <hidden>
Date: 2008-08-23 05:56:16

The file(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
  arch/powerpc/sysdev/bestcomm/gen_bd.c

This patch removes the said #include <version.h>.

Signed-off-by: Huang Weiyi <redacted>
diff --git a/arch/powerpc/sysdev/bestcomm/gen_bd.c b/arch/powerpc/sysdev/bestcomm/gen_bd.c
index a3a134c..e0a53e3 100644
--- a/arch/powerpc/sysdev/bestcomm/gen_bd.c
+++ b/arch/powerpc/sysdev/bestcomm/gen_bd.c
@@ -11,7 +11,6 @@
  *
  */

-#include <linux/version.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/string.h>

Re: powerpc/mpc5200: remove unused #include <version.h>

From: Grant Likely <hidden>
Date: 2008-08-23 06:25:34

On Fri, Aug 22, 2008 at 11:56 PM, Huang Weiyi [off-list ref] wrote:
The file(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
 arch/powerpc/sysdev/bestcomm/gen_bd.c

This patch removes the said #include <version.h>.

Signed-off-by: Huang Weiyi <redacted>
Thanks, I'll queue this for .28

g.
quoted hunk
diff --git a/arch/powerpc/sysdev/bestcomm/gen_bd.c b/arch/powerpc/sysdev/bestcomm/gen_bd.c
index a3a134c..e0a53e3 100644
--- a/arch/powerpc/sysdev/bestcomm/gen_bd.c
+++ b/arch/powerpc/sysdev/bestcomm/gen_bd.c
@@ -11,7 +11,6 @@
 *
 */

-#include <linux/version.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/string.h>


-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help