patch-1.3.69 linux/drivers/sound/sequencer.c

Next file: linux/drivers/sound/sound_switch.c
Previous file: linux/drivers/sound/sb_mixer.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.68/linux/drivers/sound/sequencer.c linux/drivers/sound/sequencer.c
@@ -866,7 +866,7 @@
     case SEQ_WAIT:
       delay = (unsigned int *) q;	/*
 					 * Bytes 1 to 3 are containing the *
-					 * delay in jiffies
+					 * delay in 'ticks'
 					 */
       *delay = (*delay >> 8) & 0xffffff;
 
@@ -1097,22 +1097,8 @@
 
   if (dev)			/* Patch manager device */
     {
-      int             err;
-
       printk ("Patch manager interface is currently broken. Sorry\n");
       return -ENXIO;
-
-      dev--;
-
-      if (dev >= MAX_SYNTH_DEV)
-	return -ENXIO;
-      if (pmgr_present[dev])
-	return -EBUSY;
-      if ((err = pmgr_open (dev)) < 0)
-	return err;
-
-      pmgr_present[dev] = 1;
-      return err;
     }
 
   save_flags (flags);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this