]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ALSA: spi: Drop superfluous ioctl PCM ops
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Dec 2019 06:11:42 +0000 (07:11 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Dec 2019 06:25:33 +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-21-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/spi/at73c213.c

index 8b1b5c86cebffe027f8a843a23d81f72f9fd8a37..77563baf7a8f8799c4aec952d7eb5095751cc395 100644 (file)
@@ -316,7 +316,6 @@ snd_at73c213_pcm_pointer(struct snd_pcm_substream *substream)
 static const struct snd_pcm_ops at73c213_playback_ops = {
        .open           = snd_at73c213_pcm_open,
        .close          = snd_at73c213_pcm_close,
-       .ioctl          = snd_pcm_lib_ioctl,
        .hw_params      = snd_at73c213_pcm_hw_params,
        .prepare        = snd_at73c213_pcm_prepare,
        .trigger        = snd_at73c213_pcm_trigger,