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

ALSA: xen: 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-24-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>

-2
-2
sound/xen/xen_snd_front_alsa.c
··· 692 692 static const struct snd_pcm_ops snd_drv_alsa_playback_ops = { 693 693 .open = alsa_open, 694 694 .close = alsa_close, 695 - .ioctl = snd_pcm_lib_ioctl, 696 695 .hw_params = alsa_hw_params, 697 696 .hw_free = alsa_hw_free, 698 697 .prepare = alsa_prepare, ··· 705 706 static const struct snd_pcm_ops snd_drv_alsa_capture_ops = { 706 707 .open = alsa_open, 707 708 .close = alsa_close, 708 - .ioctl = snd_pcm_lib_ioctl, 709 709 .hw_params = alsa_hw_params, 710 710 .hw_free = alsa_hw_free, 711 711 .prepare = alsa_prepare,