diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-04-01 18:31:53 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2024-04-04 18:43:10 +0300 |
commit | 0cd830ac3be548c920924baa84f782a763167460 (patch) | |
tree | 98ee780d9fc0d4171728497eab516e8ad558f6bd /drivers/clk/nxp | |
parent | 4cece764965020c22cff7665b18a012006359095 (diff) | |
download | linux-0cd830ac3be548c920924baa84f782a763167460.tar.xz |
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 <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/6cfb0e5251c3a59a156e70bcf6a0cc74aa764faa.1711985490.git.christophe.jaillet@wanadoo.fr
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/nxp')
-rw-r--r-- | drivers/clk/nxp/clk-lpc18xx-cgu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/clk/nxp/clk-lpc18xx-cgu.c b/drivers/clk/nxp/clk-lpc18xx-cgu.c index 69ebf65081b8..81efa885069b 100644 --- a/drivers/clk/nxp/clk-lpc18xx-cgu.c +++ b/drivers/clk/nxp/clk-lpc18xx-cgu.c @@ -250,7 +250,6 @@ static struct lpc18xx_cgu_base_clk lpc18xx_cgu_base_clks[] = { struct lpc18xx_pll { struct clk_hw hw; void __iomem *reg; - spinlock_t *lock; u8 flags; }; |