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:
9c0d064
)
ALSA: x86: Drop superfluous ioctl PCM ops
author
Takashi Iwai
<tiwai@suse.de>
Tue, 10 Dec 2019 06:11:44 +0000
(07:11 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 11 Dec 2019 06:25:34 +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-23-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/x86/intel_hdmi_audio.c
patch
|
blob
|
history
diff --git
a/sound/x86/intel_hdmi_audio.c
b/sound/x86/intel_hdmi_audio.c
index
a67692c
..
741cf61
100644
(file)
--- a/
sound/x86/intel_hdmi_audio.c
+++ b/
sound/x86/intel_hdmi_audio.c
@@
-1286,7
+1286,6
@@
static int had_pcm_mmap(struct snd_pcm_substream *substream,
static const struct snd_pcm_ops had_pcm_ops = {
.open = had_pcm_open,
.close = had_pcm_close,
- .ioctl = snd_pcm_lib_ioctl,
.hw_params = had_pcm_hw_params,
.hw_free = had_pcm_hw_free,
.prepare = had_pcm_prepare,