diff options
Diffstat (limited to 'arch/arm/mach-lpc32xx')
-rw-r--r-- | arch/arm/mach-lpc32xx/clock.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-lpc32xx/clock.c b/arch/arm/mach-lpc32xx/clock.c index 1e027514096..39dcbd0e68b 100644 --- a/arch/arm/mach-lpc32xx/clock.c +++ b/arch/arm/mach-lpc32xx/clock.c | |||
@@ -903,8 +903,6 @@ static inline void clk_unlock(void) | |||
903 | 903 | ||
904 | static void local_clk_disable(struct clk *clk) | 904 | static void local_clk_disable(struct clk *clk) |
905 | { | 905 | { |
906 | WARN_ON(clk->usecount == 0); | ||
907 | |||
908 | /* Don't attempt to disable clock if it has no users */ | 906 | /* Don't attempt to disable clock if it has no users */ |
909 | if (clk->usecount > 0) { | 907 | if (clk->usecount > 0) { |
910 | clk->usecount--; | 908 | clk->usecount--; |