From c9309f40a6831b1ac5cd0a7227b5c3717d34c812 Mon Sep 17 00:00:00 2001 From: Sean Anderson Date: Sat, 16 Dec 2023 14:38:42 -0500 Subject: treewide: Remove clk_free This function is a no-op. Remove it. Signed-off-by: Sean Anderson Link: https://lore.kernel.org/r/20231216193843.2463779-3-seanga2@gmail.com --- drivers/usb/dwc3/dwc3-meson-g12a.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'drivers/usb/dwc3/dwc3-meson-g12a.c') diff --git a/drivers/usb/dwc3/dwc3-meson-g12a.c b/drivers/usb/dwc3/dwc3-meson-g12a.c index 196035215a6..1a3e9350c46 100644 --- a/drivers/usb/dwc3/dwc3-meson-g12a.c +++ b/drivers/usb/dwc3/dwc3-meson-g12a.c @@ -361,10 +361,8 @@ static int dwc3_meson_g12a_clk_init(struct dwc3_meson_g12a *priv) #if CONFIG_IS_ENABLED(CLK) ret = clk_enable(&priv->clk); - if (ret) { - clk_free(&priv->clk); + if (ret) return ret; - } #endif return 0; -- cgit v1.2.3