diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2015-04-16 13:46:29 (GMT) |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-17 13:34:55 (GMT) |
commit | d09a6b4a1412149c133a58b53f50e9c05a95e834 (patch) | |
tree | 850dcc8958a9f1830e843d3bee779f8ab9fe5912 /sound/soc | |
parent | ac98b4c015b50b1e452f8d55b612320be7f80825 (diff) | |
download | linux-d09a6b4a1412149c133a58b53f50e9c05a95e834.tar.xz |
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>
Diffstat (limited to 'sound/soc')
-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 1efb33b..a839dbf 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; } |