patch-1.3.69 linux/drivers/sound/sound_switch.c
Next file: linux/drivers/sound/soundcard.c
Previous file: linux/drivers/sound/sequencer.c
Back to the patch index
Back to the overall index
-  Lines: 23
 -  Date:
Fri Feb 23 14:55:23 1996
 -  Orig file: 
v1.3.68/linux/drivers/sound/sound_switch.c
 -  Orig date: 
Wed Feb 14 14:37:16 1996
 
diff -u --recursive --new-file v1.3.68/linux/drivers/sound/sound_switch.c linux/drivers/sound/sound_switch.c
@@ -387,11 +387,9 @@
       return MIDIbuf_write (dev, file, buf, count);
 #endif
 
-    default:
-      return -EPERM;
     }
 
-  return count;
+  return -EPERM;
 }
 
 int
@@ -569,9 +567,6 @@
       break;
 #endif
 
-    default:
-      return -EPERM;
-      break;
     }
 
   return -EPERM;
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