aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/pcxhr
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-12-10 07:11:37 +0100
committerTakashi Iwai <tiwai@suse.de>2019-12-11 07:25:31 +0100
commitd34e1b7b9a7fa87fc5309447e4a14bd511de4bc9 (patch)
tree1b9198d473fa52601aed9ecf87bfea212a850d29 /sound/pci/pcxhr
parentALSA: trident: Drop superfluous ioctl PCM ops (diff)
downloadlinux-dev-d34e1b7b9a7fa87fc5309447e4a14bd511de4bc9.tar.xz
linux-dev-d34e1b7b9a7fa87fc5309447e4a14bd511de4bc9.zip
ALSA: pci: 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-16-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/pcxhr')
-rw-r--r--sound/pci/pcxhr/pcxhr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/pci/pcxhr/pcxhr.c b/sound/pci/pcxhr/pcxhr.c
index 72c0d1552f30..e691c372b960 100644
--- a/sound/pci/pcxhr/pcxhr.c
+++ b/sound/pci/pcxhr/pcxhr.c
@@ -1120,7 +1120,6 @@ static snd_pcm_uframes_t pcxhr_stream_pointer(struct snd_pcm_substream *subs)
static const struct snd_pcm_ops pcxhr_ops = {
.open = pcxhr_open,
.close = pcxhr_close,
- .ioctl = snd_pcm_lib_ioctl,
.prepare = pcxhr_prepare,
.hw_params = pcxhr_hw_params,
.trigger = pcxhr_trigger,