lkml.org 
[lkml]   [2000]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Warning cleanup for sound/cs4242.c [test3-7]
Date
This removes the `unused variable' warning, and also removes the
`synthirq' module parameter when not relevent.

Rusty.
diff -urN -X /tmp/fileZ910DB --minimal linux-2.4.0-test3-7/drivers/sound/cs4232.c working-2.4.0-test3-7/drivers/sound/cs4232.c
--- linux-2.4.0-test3-7/drivers/sound/cs4232.c Thu Jun 29 01:25:58 2000
+++ working-2.4.0-test3-7/drivers/sound/cs4232.c Mon Jul 10 21:23:41 2000
@@ -316,7 +316,9 @@
static int __initdata mpuio = -1;
static int __initdata mpuirq = -1;
static int __initdata synthio = -1;
+#ifdef CONFIG_SOUND_WAVEFRONT_MODULE
static int __initdata synthirq = -1;
+#endif


MODULE_PARM(io,"i");
@@ -326,7 +328,9 @@
MODULE_PARM(mpuio,"i");
MODULE_PARM(mpuirq,"i");
MODULE_PARM(synthio,"i");
+#ifdef CONFIG_SOUND_WAVEFRONT_MODULE
MODULE_PARM(synthirq,"i");
+#endif

/*
* Install a CS4232 based card. Need to have ad1848 and mpu401
--
Hacking time.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:1.135 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site