dma: bcm6348: 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-3-seanga2@gmail.com
This commit is contained in:
parent
276d446757
commit
454af567ed
@ -596,11 +596,7 @@ static int bcm6348_iudma_probe(struct udevice *dev)
|
||||
return ret;
|
||||
}
|
||||
|
||||
ret = clk_free(&clk);
|
||||
if (ret < 0) {
|
||||
pr_err("error freeing clock %d\n", i);
|
||||
return ret;
|
||||
}
|
||||
clk_free(&clk);
|
||||
}
|
||||
|
||||
/* try to perform resets */
|
||||
|
Loading…
Reference in New Issue
Block a user