mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -732,7 +732,7 @@ static int dw_spi_remove(struct udevice *bus)
|
|||
if (ret)
|
||||
return ret;
|
||||
|
||||
ret = clk_free(&priv->clk);
|
||||
clk_free(&priv->clk);
|
||||
if (ret)
|
||||
return ret;
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue