* [PATCH 1/2] clk: remove extra empty line
@ 2022-06-30 15:12 Claudiu Beznea
2022-06-30 15:12 ` [PATCH 2/2] clk: do not initialize ret Claudiu Beznea
2022-08-24 0:53 ` [PATCH 1/2] clk: remove extra empty line Stephen Boyd
0 siblings, 2 replies; 4+ messages in thread
From: Claudiu Beznea @ 2022-06-30 15:12 UTC (permalink / raw)
To: mturquette, sboyd; +Cc: linux-clk, linux-kernel, Claudiu Beznea
Remove extra empty line.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] clk: do not initialize ret
2022-06-30 15:12 [PATCH 1/2] clk: remove extra empty line Claudiu Beznea
@ 2022-06-30 15:12 ` Claudiu Beznea
2022-08-24 0:54 ` Stephen Boyd
2022-08-24 0:53 ` [PATCH 1/2] clk: remove extra empty line Stephen Boyd
1 sibling, 1 reply; 4+ messages in thread
From: Claudiu Beznea @ 2022-06-30 15:12 UTC (permalink / raw)
To: mturquette, sboyd; +Cc: linux-clk, linux-kernel, Claudiu Beznea
There is no need to initialize ret.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] clk: remove extra empty line
2022-06-30 15:12 [PATCH 1/2] clk: remove extra empty line Claudiu Beznea
2022-06-30 15:12 ` [PATCH 2/2] clk: do not initialize ret Claudiu Beznea
@ 2022-08-24 0:53 ` Stephen Boyd
1 sibling, 0 replies; 4+ messages in thread
From: Stephen Boyd @ 2022-08-24 0:53 UTC (permalink / raw)
To: Claudiu Beznea, mturquette; +Cc: linux-clk, linux-kernel, Claudiu Beznea
Quoting Claudiu Beznea (2022-06-30 08:12:04)
> Remove extra empty line.
>
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] clk: do not initialize ret
2022-06-30 15:12 ` [PATCH 2/2] clk: do not initialize ret Claudiu Beznea
@ 2022-08-24 0:54 ` Stephen Boyd
0 siblings, 0 replies; 4+ messages in thread
From: Stephen Boyd @ 2022-08-24 0:54 UTC (permalink / raw)
To: Claudiu Beznea, mturquette; +Cc: linux-clk, linux-kernel, Claudiu Beznea
Quoting Claudiu Beznea (2022-06-30 08:12:05)
> There is no need to initialize ret.
>
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-08-24 0:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-30 15:12 [PATCH 1/2] clk: remove extra empty line Claudiu Beznea
2022-06-30 15:12 ` [PATCH 2/2] clk: do not initialize ret Claudiu Beznea
2022-08-24 0:54 ` Stephen Boyd
2022-08-24 0:53 ` [PATCH 1/2] clk: remove extra empty line Stephen Boyd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).