2022-06-30 15:15:18

by Claudiu Beznea

[permalink] [raw]
Subject: [PATCH 1/2] clk: remove extra empty line

Remove extra empty line.

Signed-off-by: Claudiu Beznea <[email protected]>
---
drivers/clk/clk.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 7fc191c15507..1cff79a7f8a4 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -3672,7 +3672,6 @@ static int __clk_core_init(struct clk_core *core)

clk_core_reparent_orphans_nolock();

-
kref_init(&core->ref);
out:
clk_pm_runtime_put(core);
--
2.34.1


2022-06-30 15:19:43

by Claudiu Beznea

[permalink] [raw]
Subject: [PATCH 2/2] clk: do not initialize ret

There is no need to initialize ret.

Signed-off-by: Claudiu Beznea <[email protected]>
---
drivers/clk/clk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 1cff79a7f8a4..af6f8b48a561 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -2189,7 +2189,7 @@ static int clk_core_set_rate_nolock(struct clk_core *core,
{
struct clk_core *top, *fail_clk;
unsigned long rate;
- int ret = 0;
+ int ret;

if (!core)
return 0;
--
2.34.1

2022-08-24 01:10:14

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH 1/2] clk: remove extra empty line

Quoting Claudiu Beznea (2022-06-30 08:12:04)
> Remove extra empty line.
>
> Signed-off-by: Claudiu Beznea <[email protected]>
> ---

Applied to clk-next

2022-08-24 01:10:19

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH 2/2] clk: do not initialize ret

Quoting Claudiu Beznea (2022-06-30 08:12:05)
> There is no need to initialize ret.
>
> Signed-off-by: Claudiu Beznea <[email protected]>
> ---

Applied to clk-next