summaryrefslogtreecommitdiff
path: root/sound/parisc/harmony.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-12-10 09:11:31 +0300
committerTakashi Iwai <tiwai@suse.de>2019-12-11 09:25:29 +0300
commitc02644684ca11b904c5105f06c988a62ef0c6dde (patch)
treef2f8841429c3c5944c69ae1bcb8ccd4845197fd4 /sound/parisc/harmony.c
parent9a4df8251ac0aed09d67405c7dfa59f14bde82ed (diff)
downloadlinux-c02644684ca11b904c5105f06c988a62ef0c6dde.tar.xz
ALSA: parisc: 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-10-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/parisc/harmony.c')
-rw-r--r--sound/parisc/harmony.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/parisc/harmony.c b/sound/parisc/harmony.c
index 1a4c40aafcbe..ea3630217d39 100644
--- a/sound/parisc/harmony.c
+++ b/sound/parisc/harmony.c
@@ -578,7 +578,6 @@ snd_harmony_hw_params(struct snd_pcm_substream *ss,
static const struct snd_pcm_ops snd_harmony_playback_ops = {
.open = snd_harmony_playback_open,
.close = snd_harmony_playback_close,
- .ioctl = snd_pcm_lib_ioctl,
.hw_params = snd_harmony_hw_params,
.prepare = snd_harmony_playback_prepare,
.trigger = snd_harmony_playback_trigger,
@@ -588,7 +587,6 @@ static const struct snd_pcm_ops snd_harmony_playback_ops = {
static const struct snd_pcm_ops snd_harmony_capture_ops = {
.open = snd_harmony_capture_open,
.close = snd_harmony_capture_close,
- .ioctl = snd_pcm_lib_ioctl,
.hw_params = snd_harmony_hw_params,
.prepare = snd_harmony_capture_prepare,
.trigger = snd_harmony_capture_trigger,