Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: usb: Drop superfluous ioctl PCM ops

PCM core deals the empty ioctl field now as default(*).
Let's kill the redundant lines.

(*) commit fc033cbf6fb7 ("ALSA: pcm: Allow NULL ioctl ops")

Link: https://lore.kernel.org/r/20191210061145.24641-22-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>

-11
-1
sound/usb/6fire/pcm.c
··· 542 542 static const struct snd_pcm_ops pcm_ops = { 543 543 .open = usb6fire_pcm_open, 544 544 .close = usb6fire_pcm_close, 545 - .ioctl = snd_pcm_lib_ioctl, 546 545 .prepare = usb6fire_pcm_prepare, 547 546 .trigger = usb6fire_pcm_trigger, 548 547 .pointer = usb6fire_pcm_pointer,
-1
sound/usb/caiaq/audio.c
··· 321 321 static const struct snd_pcm_ops snd_usb_caiaq_ops = { 322 322 .open = snd_usb_caiaq_substream_open, 323 323 .close = snd_usb_caiaq_substream_close, 324 - .ioctl = snd_pcm_lib_ioctl, 325 324 .hw_free = snd_usb_caiaq_pcm_hw_free, 326 325 .prepare = snd_usb_caiaq_pcm_prepare, 327 326 .trigger = snd_usb_caiaq_pcm_trigger,
-1
sound/usb/hiface/pcm.c
··· 500 500 static const struct snd_pcm_ops pcm_ops = { 501 501 .open = hiface_pcm_open, 502 502 .close = hiface_pcm_close, 503 - .ioctl = snd_pcm_lib_ioctl, 504 503 .prepare = hiface_pcm_prepare, 505 504 .trigger = hiface_pcm_trigger, 506 505 .pointer = hiface_pcm_pointer,
-1
sound/usb/line6/capture.c
··· 247 247 const struct snd_pcm_ops snd_line6_capture_ops = { 248 248 .open = snd_line6_capture_open, 249 249 .close = snd_line6_capture_close, 250 - .ioctl = snd_pcm_lib_ioctl, 251 250 .hw_params = snd_line6_hw_params, 252 251 .hw_free = snd_line6_hw_free, 253 252 .prepare = snd_line6_prepare,
-1
sound/usb/line6/playback.c
··· 392 392 const struct snd_pcm_ops snd_line6_playback_ops = { 393 393 .open = snd_line6_playback_open, 394 394 .close = snd_line6_playback_close, 395 - .ioctl = snd_pcm_lib_ioctl, 396 395 .hw_params = snd_line6_hw_params, 397 396 .hw_free = snd_line6_hw_free, 398 397 .prepare = snd_line6_prepare,
-2
sound/usb/misc/ua101.c
··· 870 870 static const struct snd_pcm_ops capture_pcm_ops = { 871 871 .open = capture_pcm_open, 872 872 .close = capture_pcm_close, 873 - .ioctl = snd_pcm_lib_ioctl, 874 873 .hw_params = capture_pcm_hw_params, 875 874 .prepare = capture_pcm_prepare, 876 875 .trigger = capture_pcm_trigger, ··· 879 880 static const struct snd_pcm_ops playback_pcm_ops = { 880 881 .open = playback_pcm_open, 881 882 .close = playback_pcm_close, 882 - .ioctl = snd_pcm_lib_ioctl, 883 883 .hw_params = playback_pcm_hw_params, 884 884 .prepare = playback_pcm_prepare, 885 885 .trigger = playback_pcm_trigger,
-2
sound/usb/pcm.c
··· 1763 1763 static const struct snd_pcm_ops snd_usb_playback_ops = { 1764 1764 .open = snd_usb_pcm_open, 1765 1765 .close = snd_usb_pcm_close, 1766 - .ioctl = snd_pcm_lib_ioctl, 1767 1766 .hw_params = snd_usb_hw_params, 1768 1767 .hw_free = snd_usb_hw_free, 1769 1768 .prepare = snd_usb_pcm_prepare, ··· 1773 1774 static const struct snd_pcm_ops snd_usb_capture_ops = { 1774 1775 .open = snd_usb_pcm_open, 1775 1776 .close = snd_usb_pcm_close, 1776 - .ioctl = snd_pcm_lib_ioctl, 1777 1777 .hw_params = snd_usb_hw_params, 1778 1778 .hw_free = snd_usb_hw_free, 1779 1779 .prepare = snd_usb_pcm_prepare,
-1
sound/usb/usx2y/usbusx2yaudio.c
··· 893 893 { 894 894 .open = snd_usX2Y_pcm_open, 895 895 .close = snd_usX2Y_pcm_close, 896 - .ioctl = snd_pcm_lib_ioctl, 897 896 .hw_params = snd_usX2Y_pcm_hw_params, 898 897 .hw_free = snd_usX2Y_pcm_hw_free, 899 898 .prepare = snd_usX2Y_pcm_prepare,
-1
sound/usb/usx2y/usx2yhwdeppcm.c
··· 581 581 { 582 582 .open = snd_usX2Y_usbpcm_open, 583 583 .close = snd_usX2Y_usbpcm_close, 584 - .ioctl = snd_pcm_lib_ioctl, 585 584 .hw_params = snd_usX2Y_pcm_hw_params, 586 585 .hw_free = snd_usX2Y_usbpcm_hw_free, 587 586 .prepare = snd_usX2Y_usbpcm_prepare,