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

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