From: <rw...@ea...> - 2003-10-22 00:12:10
|
Remove include of linux/version.h where it isn't needed. Tested on 2.6.0-test8-uml1 with default configuration. diff -Nur linux-2.6.0-test8-um1/arch/um/drivers/hostaudio_kern.c linux/arch/um/drivers/hostaudio_kern.c --- linux-2.6.0-test8-um1/arch/um/drivers/hostaudio_kern.c 2003-10-21 16:57:02.000000000 -0400 +++ linux/arch/um/drivers/hostaudio_kern.c 2003-10-21 17:07:35.655017296 -0400 @@ -5,7 +5,6 @@ #include "linux/config.h" #include "linux/module.h" -#include "linux/version.h" #include "linux/init.h" #include "linux/slab.h" #include "linux/fs.h" diff -Nur linux-2.6.0-test8-um1/arch/um/include/2_5compat.h linux/arch/um/include/2_5compat.h --- linux-2.6.0-test8-um1/arch/um/include/2_5compat.h 2003-04-19 22:49:26.000000000 -0400 +++ linux/arch/um/include/2_5compat.h 2003-10-21 17:08:12.192462760 -0400 @@ -6,8 +6,6 @@ #ifndef __2_5_COMPAT_H__ #define __2_5_COMPAT_H__ -#include "linux/version.h" - #define INIT_CONSOLE(dev_name, write_proc, device_proc, setup_proc, f) { \ name : dev_name, \ write : write_proc, \ diff -Nur linux-2.6.0-test8-um1/arch/um/kernel/init_task.c linux/arch/um/kernel/init_task.c --- linux-2.6.0-test8-um1/arch/um/kernel/init_task.c 2003-10-21 16:57:02.000000000 -0400 +++ linux/arch/um/kernel/init_task.c 2003-10-21 17:09:03.325689328 -0400 @@ -8,7 +8,6 @@ #include "linux/module.h" #include "linux/sched.h" #include "linux/init_task.h" -#include "linux/version.h" #include "asm/uaccess.h" #include "asm/pgtable.h" #include "user_util.h" diff -Nur linux-2.6.0-test8-um1/arch/um/kernel/sys_call_table.c linux/arch/um/kernel/sys_call_table.c --- linux-2.6.0-test8-um1/arch/um/kernel/sys_call_table.c 2003-10-21 16:57:02.000000000 -0400 +++ linux/arch/um/kernel/sys_call_table.c 2003-10-21 17:08:33.848170592 -0400 @@ -5,7 +5,6 @@ #include "linux/config.h" #include "linux/unistd.h" -#include "linux/version.h" #include "linux/sys.h" #include "linux/swap.h" #include "linux/sysctl.h" -- Randy Hron http://home.earthlink.net/~rwhron/kernel/bigbox.html |