patch-2.4.22 linux-2.4.22/drivers/sound/awe_wave.c

Next file: linux-2.4.22/drivers/sound/cmpci.c
Previous file: linux-2.4.22/drivers/sound/au1000.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/sound/awe_wave.c linux-2.4.22/drivers/sound/awe_wave.c
@@ -2059,18 +2059,15 @@
 		awe_reset(dev);
 		awe_reset_samples();
 		return 0;
-		break;
 
 	case SNDCTL_SEQ_PERCMODE:
 		/* what's this? */
 		return 0;
-		break;
 
 	case SNDCTL_SYNTH_MEMAVL:
 		return memsize - awe_free_mem_ptr() * 2;
 
 	default:
-		printk(KERN_WARNING "AWE32: unsupported ioctl %d\n", cmd);
 		return -EINVAL;
 	}
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)