瀏覽代碼

[PATCH] sound/oss/rme96xx.c: remove kernel 2.2 #if's

This patch removes #if's for kernel 2.2 .

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Adrian Bunk 20 年之前
父節點
當前提交
f040ffab74
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      sound/oss/rme96xx.c

+ 0 - 4
sound/oss/rme96xx.c

@@ -1750,9 +1750,7 @@ static unsigned int rme96xx_poll(struct file *file, struct poll_table_struct *wa
 
 
 
 
 static struct file_operations rme96xx_audio_fops = {
 static struct file_operations rme96xx_audio_fops = {
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
 	.owner	 = THIS_MODULE,
 	.owner	 = THIS_MODULE,
-#endif
 	.read	 = rme96xx_read,
 	.read	 = rme96xx_read,
 	.write	 = rme96xx_write,
 	.write	 = rme96xx_write,
 	.poll	 = rme96xx_poll,
 	.poll	 = rme96xx_poll,
@@ -1852,9 +1850,7 @@ static int rme96xx_mixer_release(struct inode *inode, struct file *file)
 }
 }
 
 
 static /*const*/ struct file_operations rme96xx_mixer_fops = {
 static /*const*/ struct file_operations rme96xx_mixer_fops = {
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
 	.owner	 = THIS_MODULE,
 	.owner	 = THIS_MODULE,
-#endif
 	.ioctl	 = rme96xx_mixer_ioctl,
 	.ioctl	 = rme96xx_mixer_ioctl,
 	.open	 = rme96xx_mixer_open,
 	.open	 = rme96xx_mixer_open,
 	.release = rme96xx_mixer_release,
 	.release = rme96xx_mixer_release,