ALSA: xen: Drop superfluous ioctl PCM ops

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

(*) commit fc033cbf6f ("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>
This commit is contained in:
Takashi Iwai 2019-12-10 07:11:45 +01:00
parent 63d5cda7f5
commit 4bb1e4e7cc
1 changed files with 0 additions and 2 deletions

View File

@ -692,7 +692,6 @@ static int alsa_pb_fill_silence(struct snd_pcm_substream *substream,
static const struct snd_pcm_ops snd_drv_alsa_playback_ops = { static const struct snd_pcm_ops snd_drv_alsa_playback_ops = {
.open = alsa_open, .open = alsa_open,
.close = alsa_close, .close = alsa_close,
.ioctl = snd_pcm_lib_ioctl,
.hw_params = alsa_hw_params, .hw_params = alsa_hw_params,
.hw_free = alsa_hw_free, .hw_free = alsa_hw_free,
.prepare = alsa_prepare, .prepare = alsa_prepare,
@ -706,7 +705,6 @@ static const struct snd_pcm_ops snd_drv_alsa_playback_ops = {
static const struct snd_pcm_ops snd_drv_alsa_capture_ops = { static const struct snd_pcm_ops snd_drv_alsa_capture_ops = {
.open = alsa_open, .open = alsa_open,
.close = alsa_close, .close = alsa_close,
.ioctl = snd_pcm_lib_ioctl,
.hw_params = alsa_hw_params, .hw_params = alsa_hw_params,
.hw_free = alsa_hw_free, .hw_free = alsa_hw_free,
.prepare = alsa_prepare, .prepare = alsa_prepare,