Skip to contentSkip to conversation

clk: sunxi: Remove unused struct 'gates_data'

PATCH Superseded [email protected] 2 participants 3 messages May 9, 2024

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: sunxi: Remove unused struct 'gates_data'

From: "Dr. David Alan Gilbert" <[email protected]>

'gates_data' (and it's associated define) are unused since Commit ee38b2698ae2 ("clk: sunxi: Add a simple gates driver"). Remove them.

---
 drivers/clk/sunxi/clk-sunxi.c | 11 -----------
 1 file changed, 11 deletions(-)
drivers/clk/sunxi/clk-sunxi.c +0 -11
index 5fe7049ea693a..4999504f7e60d 100644
@@ -852,17 +852,6 @@ CLK_OF_DECLARE(sun8i_axi, "allwinner,sun8i-a23-axi-clk",
 	       sun8i_axi_clk_setup);
 
 
-
-/*
- * sunxi_gates_clk_setup() - Setup function for leaf gates on clocks
- */
-
-#define SUNXI_GATES_MAX_SIZE	64
-
-struct gates_data {
-	DECLARE_BITMAP(mask, SUNXI_GATES_MAX_SIZE);
-};
-
 /*
  * sunxi_divs_clk_setup() helper data
  */
Signature · 1 line
2.45.0
maintainer
#1 lore raw

Quoting [email protected] (2024-05-08 17:14:52)

Quoted 4 lines

From: "Dr. David Alan Gilbert" <[email protected]>

'gates_data' (and it's associated define) are unused since Commit ee38b2698ae2 ("clk: sunxi: Add a simple gates driver").

Lowercase commit please.

#2 lore raw
Quoted 7 lines · * Stephen Boyd ([email protected]) wrote:

Quoting [email protected] (2024-05-08 17:14:52)

Quoted 4 lines

From: "Dr. David Alan Gilbert" <[email protected]>

'gates_data' (and it's associated define) are unused since Commit ee38b2698ae2 ("clk: sunxi: Add a simple gates driver").

Lowercase commit please.

V2 sent with just that changed.

Dave

Signature · 4 lines
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/