<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
From: Adrian Bunk &lt;bunk@fs.tum.de&gt;

The patch below removes two #ifdef's for kernel 2.0 from OSS.



---

 sound/oss/msnd.c |   19 ++++---------------
 sound/oss/os.h   |    4 ----
 2 files changed, 4 insertions(+), 19 deletions(-)

diff -puN sound/oss/msnd.c~oss-cruft-removal sound/oss/msnd.c
--- 25/sound/oss/msnd.c~oss-cruft-removal	2004-02-07 11:28:02.000000000 -0800
+++ 25-akpm/sound/oss/msnd.c	2004-02-07 11:28:02.000000000 -0800
@@ -25,9 +25,6 @@
  ********************************************************************/
 
 #include &lt;linux/version.h&gt;
-#if LINUX_VERSION_CODE &lt; 0x020101
-#  define LINUX20
-#endif
 #include &lt;linux/module.h&gt;
 #include &lt;linux/kernel.h&gt;
 #include &lt;linux/slab.h&gt;
@@ -35,18 +32,10 @@
 #include &lt;linux/types.h&gt;
 #include &lt;linux/delay.h&gt;
 #include &lt;linux/mm.h&gt;
-#ifdef LINUX20
-#  include &lt;linux/major.h&gt;
-#  include &lt;linux/fs.h&gt;
-#  include &lt;linux/sound.h&gt;
-#  include &lt;asm/segment.h&gt;
-#  include "sound_config.h"
-#else
-#  include &lt;linux/init.h&gt;
-#  include &lt;asm/io.h&gt;
-#  include &lt;asm/uaccess.h&gt;
-#  include &lt;linux/spinlock.h&gt;
-#endif
+#include &lt;linux/init.h&gt;
+#include &lt;asm/io.h&gt;
+#include &lt;asm/uaccess.h&gt;
+#include &lt;linux/spinlock.h&gt;
 #include &lt;asm/irq.h&gt;
 #include "msnd.h"
 
diff -puN sound/oss/os.h~oss-cruft-removal sound/oss/os.h
--- 25/sound/oss/os.h~oss-cruft-removal	2004-02-07 11:28:02.000000000 -0800
+++ 25-akpm/sound/oss/os.h	2004-02-07 11:28:02.000000000 -0800
@@ -7,10 +7,6 @@
 #include &lt;linux/module.h&gt;
 #include &lt;linux/version.h&gt;
 
-#if LINUX_VERSION_CODE &gt; 131328
-#define LINUX21X
-#endif
-
 #ifdef __KERNEL__
 #include &lt;linux/utsname.h&gt;
 #include &lt;linux/string.h&gt;

_
</pre></body></html>