Commit ac3c5ec8 authored by Alexandru Jercaianu's avatar Alexandru Jercaianu Committed by Greg Kroah-Hartman

Staging: bcm2835-audio: Removed redundant check

This was reported by checkpatch.pl
Signed-off-by: default avatarAlexandru Jercaianu <alex.jercaianu@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 128aacf2
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment