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:
parent
128aacf2c9
commit
ac3c5ec8d4
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user