OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.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
a4be4d1
..
6cbe5cb
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,