diff options
Diffstat (limited to 'arch/arm/mach-omap2/clockdomain2xxx_3xxx.c')
-rw-r--r-- | arch/arm/mach-omap2/clockdomain2xxx_3xxx.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/clockdomain2xxx_3xxx.c b/arch/arm/mach-omap2/clockdomain2xxx_3xxx.c index f740edb111f4..a0d68dbecfa3 100644 --- a/arch/arm/mach-omap2/clockdomain2xxx_3xxx.c +++ b/arch/arm/mach-omap2/clockdomain2xxx_3xxx.c | |||
@@ -52,8 +52,6 @@ static int omap2_clkdm_clear_all_wkdeps(struct clockdomain *clkdm) | |||
52 | u32 mask = 0; | 52 | u32 mask = 0; |
53 | 53 | ||
54 | for (cd = clkdm->wkdep_srcs; cd && cd->clkdm_name; cd++) { | 54 | for (cd = clkdm->wkdep_srcs; cd && cd->clkdm_name; cd++) { |
55 | if (!omap_chip_is(cd->omap_chip)) | ||
56 | continue; | ||
57 | if (!cd->clkdm) | 55 | if (!cd->clkdm) |
58 | continue; /* only happens if data is erroneous */ | 56 | continue; /* only happens if data is erroneous */ |
59 | 57 | ||
@@ -98,8 +96,6 @@ static int omap3_clkdm_clear_all_sleepdeps(struct clockdomain *clkdm) | |||
98 | u32 mask = 0; | 96 | u32 mask = 0; |
99 | 97 | ||
100 | for (cd = clkdm->sleepdep_srcs; cd && cd->clkdm_name; cd++) { | 98 | for (cd = clkdm->sleepdep_srcs; cd && cd->clkdm_name; cd++) { |
101 | if (!omap_chip_is(cd->omap_chip)) | ||
102 | continue; | ||
103 | if (!cd->clkdm) | 99 | if (!cd->clkdm) |
104 | continue; /* only happens if data is erroneous */ | 100 | continue; /* only happens if data is erroneous */ |
105 | 101 | ||