]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/isa/wavefront/wavefront_synth.c
IB/mthca: Check SRQ limit in modify SRQ operation
[linux-2.6-omap-h63xx.git] / sound / isa / wavefront / wavefront_synth.c
index 679d0ae97e4fb61893956dda661831a21a1ece53..68aa091e89617b9d6bb8915d96fda8810138c669 100644 (file)
@@ -115,18 +115,11 @@ MODULE_PARM_DESC(osrun_time, "how many seconds to wait for the ICS2115 OS");
 
 #ifdef WF_DEBUG
 
-#if defined(NEW_MACRO_VARARGS) || __GNUC__ >= 3
 #define DPRINT(cond, ...) \
        if ((dev->debug & (cond)) == (cond)) { \
             snd_printk (__VA_ARGS__); \
        }
 #else
-#define DPRINT(cond, args...) \
-       if ((dev->debug & (cond)) == (cond)) { \
-            snd_printk (args); \
-       }
-#endif
-#else
 #define DPRINT(cond, args...)
 #endif /* WF_DEBUG */
 
@@ -873,7 +866,7 @@ wavefront_send_sample (snd_wavefront_t *dev,
           divided by 2.
         */
 
-       u16 sample_short;
+       u16 sample_short = 0;
        u32 length;
        u16 __user *data_end = NULL;
        unsigned int i;