From: Kuninori Morimoto Date: Mon, 10 Sep 2012 09:14:10 +0000 (-0700) Subject: ASoC: fsi: tidyup: remove un-necessary operation from fsi_probe() X-Git-Tag: v3.7-rc2~30^2~1^2~116 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dbd4e51cd164e7d94b00c0c0dd3ac5517364a8fb;p=profile%2Fivi%2Fkernel-x86-ivi.git ASoC: fsi: tidyup: remove un-necessary operation from fsi_probe() struct fsi_master *master became member of struct fsi_priv from 71f6e0645be42f93c0f90dfcc93b9d2d277c2ee6 (ASoC: sh_fsi: avoid using global variable) So, master = NULL is not necessary on fsi_probe() now. Signed-off-by: Kuninori Morimoto Signed-off-by: Mark Brown --- diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c index 8534989..a5ee2fa 100644 --- a/sound/soc/sh/fsi.c +++ b/sound/soc/sh/fsi.c @@ -1738,7 +1738,6 @@ exit_iounmap: iounmap(master->base); exit_kfree: kfree(master); - master = NULL; exit: return ret; }