projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d34e1b7
)
ALSA: pcmcia: Drop superfluous ioctl PCM ops
author
Takashi Iwai
<tiwai@suse.de>
Tue, 10 Dec 2019 06:11:38 +0000
(07:11 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 11 Dec 2019 06:25:32 +0000
(07:25 +0100)
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-17-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c
patch
|
blob
|
history
diff --git
a/sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c
b/sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c
index a4be4d1b0f7df6d31673b73ebefbba94f3e01c1b..6cbe5cb3435828c9489bac72b9981975ec568ed8 100644
(file)
--- a/
sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c
+++ b/
sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c
@@
-238,7
+238,6
@@
static snd_pcm_uframes_t pdacf_pcm_capture_pointer(struct snd_pcm_substream *sub
static const struct snd_pcm_ops pdacf_pcm_capture_ops = {
.open = pdacf_pcm_capture_open,
.close = pdacf_pcm_capture_close,
- .ioctl = snd_pcm_lib_ioctl,
.prepare = pdacf_pcm_prepare,
.trigger = pdacf_pcm_trigger,
.pointer = pdacf_pcm_capture_pointer,