diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2020-05-01 12:08:24 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-05-13 17:07:50 +0530 |
commit | f2b5d503c04a28828af8e41fcd4a5d9fd978a78e (patch) | |
tree | f3cde762bd5ac0cfd65f4cb057ee2dee3454c622 /tools/lib/api/debug.c | |
parent | d24224dea57108f96d13579f20206c339bb8e52f (diff) |
dmaengine: sf-pdma: Simplify the error handling path in 'sf_pdma_probe()'
There is no need to explicitly free memory that have been 'devm_kzalloc'ed.
Simplify the probe function accordingly.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Tested-by: Green Wan <green.wan@sifive.com>
Reviewed-by: Green Wan <green.wan@sifive.com>
Link: https://lore.kernel.org/r/20200501100824.126534-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions