staging: bcm2835-audio: Remove redundant function calls
authorTakashi Iwai <tiwai@suse.de>
Tue, 4 Sep 2018 15:58:35 +0000 (17:58 +0200)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:08:29 +0000 (00:08 +0100)
commit6ca820d751d64289e5ac6be9abb6df115b10222e
treeddb334c4c2f27c7956e2ff65d61f51c390db563f
parentc59fc50182c15939ef319d0ba68e1aef07c8d477
staging: bcm2835-audio: Remove redundant function calls

commit 124950ebe9fa8547c59e8d4acc8d6c59e6278ed6 upstream.

bcm2835_audio_setup(), bcm2835_audio_flush_buffers() and
bcm2835_audio_flush_playback_buffers() functions do implement
nothing.

Also, bcm2835_audio_set_ctls() is already called inside
bcm2835_audio_set_params(), so the later call is superfluous.

This patch removes these superfluous implementations.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c
drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c
drivers/staging/vc04_services/bcm2835-audio/bcm2835.h