patch-2.1.77 linux/drivers/sound/gus_midi.c

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

diff -u --recursive --new-file v2.1.76/linux/drivers/sound/gus_midi.c linux/drivers/sound/gus_midi.c
@@ -175,12 +175,6 @@
 	return 0;
 }
 
-static int
-gus_midi_ioctl(int dev, unsigned cmd, caddr_t arg)
-{
-	return -EINVAL;
-}
-
 static void
 gus_midi_kick(int dev)
 {
@@ -218,7 +212,7 @@
 	{0},
 	gus_midi_open,
 	gus_midi_close,
-	gus_midi_ioctl,
+	NULL, /* ioctl */
 	gus_midi_out,
 	gus_midi_start_read,
 	gus_midi_end_read,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov