Staging: bcm2835-audio: Removed redundant check

This was reported by checkpatch.pl

Signed-off-by: Alexandru Jercaianu <alex.jercaianu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Alexandru Jercaianu 2017-02-25 10:19:41 +00:00 committed by Greg Kroah-Hartman
parent 128aacf2c9
commit ac3c5ec8d4

View File

@ -56,8 +56,7 @@ static struct snd_pcm_hardware snd_bcm2835_playback_spdif_hw = {
static void snd_bcm2835_playback_free(struct snd_pcm_runtime *runtime)
{
audio_info("Freeing up alsa stream here ..\n");
if (runtime->private_data)
kfree(runtime->private_data);
kfree(runtime->private_data);
runtime->private_data = NULL;
}