diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2015-04-16 21:46:29 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-17 14:34:55 +0100 |
commit | d09a6b4a1412149c133a58b53f50e9c05a95e834 (patch) | |
tree | 850dcc8958a9f1830e843d3bee779f8ab9fe5912 | |
parent | ac98b4c015b50b1e452f8d55b612320be7f80825 (diff) |
ASoC: Intel: sst_byt: remove kfree for memory allocated with devm_kzalloc
It's not necessary to free memory allocated with devm_kzalloc
and using kfree leads to a double free.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/intel/baytrail/sst-baytrail-ipc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/intel/baytrail/sst-baytrail-ipc.c b/sound/soc/intel/baytrail/sst-baytrail-ipc.c index 1efb33b36303..a839dbfa5218 100644 --- a/sound/soc/intel/baytrail/sst-baytrail-ipc.c +++ b/sound/soc/intel/baytrail/sst-baytrail-ipc.c @@ -759,7 +759,6 @@ fw_err: dsp_new_err: sst_ipc_fini(ipc); ipc_init_err: - kfree(byt); return err; } |