summaryrefslogtreecommitdiff
path: root/sound/usb/misc
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-12-10 09:11:43 +0300
committerTakashi Iwai <tiwai@suse.de>2019-12-11 09:25:34 +0300
commit9c0d064a1e1906bf18a4d641145df004d16a10dd (patch)
tree49344c8b1bd3acc029797ad1794b1ee0cd505e42 /sound/usb/misc
parent6bddc9ef588555a9ed25c735fa8b277d966df78a (diff)
downloadlinux-9c0d064a1e1906bf18a4d641145df004d16a10dd.tar.xz
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>
Diffstat (limited to 'sound/usb/misc')
-rw-r--r--sound/usb/misc/ua101.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/usb/misc/ua101.c b/sound/usb/misc/ua101.c
index a7b68447f3ad..884e740a785c 100644
--- a/sound/usb/misc/ua101.c
+++ b/sound/usb/misc/ua101.c
@@ -870,7 +870,6 @@ static snd_pcm_uframes_t playback_pcm_pointer(struct snd_pcm_substream *subs)
static const struct snd_pcm_ops capture_pcm_ops = {
.open = capture_pcm_open,
.close = capture_pcm_close,
- .ioctl = snd_pcm_lib_ioctl,
.hw_params = capture_pcm_hw_params,
.prepare = capture_pcm_prepare,
.trigger = capture_pcm_trigger,
@@ -880,7 +879,6 @@ static const struct snd_pcm_ops capture_pcm_ops = {
static const struct snd_pcm_ops playback_pcm_ops = {
.open = playback_pcm_open,
.close = playback_pcm_close,
- .ioctl = snd_pcm_lib_ioctl,
.hw_params = playback_pcm_hw_params,
.prepare = playback_pcm_prepare,
.trigger = playback_pcm_trigger,