diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-12-10 07:11:25 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-12-11 07:25:26 +0100 |
commit | 1eb1a950f6201f308566bd58d2b9c97ec99210da (patch) | |
tree | 3e1d54421fdf9e3e4d7c8039e8c1ada02f2f43b6 /sound/atmel/ac97c.c | |
parent | ALSA: arm: Drop superfluous ioctl PCM ops (diff) | |
download | linux-1eb1a950f6201f308566bd58d2b9c97ec99210da.tar.xz linux-1eb1a950f6201f308566bd58d2b9c97ec99210da.zip |
ALSA: atmel: 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-4-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/atmel/ac97c.c')
-rw-r--r-- | sound/atmel/ac97c.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/atmel/ac97c.c b/sound/atmel/ac97c.c index 44507e43ed28..658b4d385249 100644 --- a/sound/atmel/ac97c.c +++ b/sound/atmel/ac97c.c @@ -447,7 +447,6 @@ atmel_ac97c_capture_pointer(struct snd_pcm_substream *substream) static const struct snd_pcm_ops atmel_ac97_playback_ops = { .open = atmel_ac97c_playback_open, .close = atmel_ac97c_playback_close, - .ioctl = snd_pcm_lib_ioctl, .hw_params = atmel_ac97c_playback_hw_params, .prepare = atmel_ac97c_playback_prepare, .trigger = atmel_ac97c_playback_trigger, @@ -457,7 +456,6 @@ static const struct snd_pcm_ops atmel_ac97_playback_ops = { static const struct snd_pcm_ops atmel_ac97_capture_ops = { .open = atmel_ac97c_capture_open, .close = atmel_ac97c_capture_close, - .ioctl = snd_pcm_lib_ioctl, .hw_params = atmel_ac97c_capture_hw_params, .prepare = atmel_ac97c_capture_prepare, .trigger = atmel_ac97c_capture_trigger, |