spi: dw: Don't check clk_free
This function always succeeds, so don't check its return value. Signed-off-by: Sean Anderson <seanga2@gmail.com> Link: https://lore.kernel.org/r/20220115222504.617013-7-seanga2@gmail.com
This commit is contained in:
parent
dfdb227c3d
commit
3cbdd4cab9
@ -732,7 +732,7 @@ static int dw_spi_remove(struct udevice *bus)
|
|||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
ret = clk_free(&priv->clk);
|
clk_free(&priv->clk);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user