Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

staging: bcm2835-audio: Drop superfluous ioctl PCM ops

PCM core deals the empty ioctl field now as default.
Let's kill the redundant lines.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20191210141356.18074-5-tiwai@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Takashi Iwai and committed by
Greg Kroah-Hartman
de7c18bd 0a2eb63d

-2
-2
drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c
··· 305 305 static const struct snd_pcm_ops snd_bcm2835_playback_ops = { 306 306 .open = snd_bcm2835_playback_open, 307 307 .close = snd_bcm2835_playback_close, 308 - .ioctl = snd_pcm_lib_ioctl, 309 308 .prepare = snd_bcm2835_pcm_prepare, 310 309 .trigger = snd_bcm2835_pcm_trigger, 311 310 .pointer = snd_bcm2835_pcm_pointer, ··· 314 315 static const struct snd_pcm_ops snd_bcm2835_playback_spdif_ops = { 315 316 .open = snd_bcm2835_playback_spdif_open, 316 317 .close = snd_bcm2835_playback_close, 317 - .ioctl = snd_pcm_lib_ioctl, 318 318 .prepare = snd_bcm2835_pcm_prepare, 319 319 .trigger = snd_bcm2835_pcm_trigger, 320 320 .pointer = snd_bcm2835_pcm_pointer,