From: James Nelson Date: Sun, 27 Aug 2006 20:25:01 +0000 Subject: [KJ] [PATCH] sis: Remove kernel version-specific preprocessor Message-Id: <20060827202501.15103.18236.sendpatchset@david.homenet> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kernel-janitors@vger.kernel.org This patch removes a lot of version-specific preprocessor directives and associated code. Left one in that relates to current development, though. init.h | 7 - init301.h | 7 - initextlfb.c | 4 osdef.h | 9 - sis.h | 58 --------- sis_accel.c | 24 --- sis_accel.h | 13 -- sis_main.c | 363 ----------------------------------------------------------- sis_main.h | 65 ---------- vgatypes.h | 2 10 files changed, 1 insertion(+), 551 deletions(-) Signed-off-by: James Nelson --- diff --git a/drivers/video/sis/init.h b/drivers/video/sis/init.h index 7ecab87..59d1284 100644 --- a/drivers/video/sis/init.h +++ b/drivers/video/sis/init.h @@ -77,16 +77,9 @@ #include #include #include #include -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) -#include