mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02:00
media: platform: exynos4-is: return callee's error code rather than -ENXIO
Clang static analyzer complains that value stored to 'ret' is never read. Return the callee's error code to fix this. Signed-off-by: Su Hui <suhui@nfschina.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
This commit is contained in:
parent
20a4ecc786
commit
d8b45ee43a
|
|
@ -814,7 +814,7 @@ static int fimc_clk_get(struct fimc_dev *fimc)
|
|||
fimc_clk_put(fimc);
|
||||
dev_err(&fimc->pdev->dev, "failed to get clock: %s\n",
|
||||
fimc_clocks[i]);
|
||||
return -ENXIO;
|
||||
return ret;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_PM
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user