Skip to content

Commit 0cd830a

Browse files
tititiou36bebarino
authored andcommitted
clk: nxp: Remove an unused field in struct lpc18xx_pll
In "struct lpc18xx_pll", the 'lock' field is unused. Remove it. Found with cppcheck, unusedStructMember. Signed-off-by: Christophe JAILLET <[email protected]> Link: https://lore.kernel.org/r/6cfb0e5251c3a59a156e70bcf6a0cc74aa764faa.1711985490.git.christophe.jaillet@wanadoo.fr Acked-by: Vladimir Zapolskiy <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent 4cece76 commit 0cd830a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/clk/nxp/clk-lpc18xx-cgu.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ static struct lpc18xx_cgu_base_clk lpc18xx_cgu_base_clks[] = {
250250
struct lpc18xx_pll {
251251
struct clk_hw hw;
252252
void __iomem *reg;
253-
spinlock_t *lock;
254253
u8 flags;
255254
};
256255

0 commit comments

Comments
 (0)