Skip to content

Commit

Permalink
ARM: OMAP4: hwmod: drop extra cpu_is check from _wait_target_disable()
Browse files Browse the repository at this point in the history
_omap4_wait_target_disable() is called only from inside _omap4_disable_module()
which is already protected by SoC specific checks.  Remove the cpu_is check
here.

Signed-off-by: Kevin Hilman <khilman@ti.com>
  • Loading branch information
Kevin Hilman authored and Paul Walmsley committed Jun 18, 2012
1 parent 9ebfd28 commit baa2607
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/arm/mach-omap2/omap_hwmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -823,9 +823,6 @@ static void _omap4_enable_module(struct omap_hwmod *oh)
*/
static int _omap4_wait_target_disable(struct omap_hwmod *oh)
{
if (!cpu_is_omap44xx())
return 0;

if (!oh)
return -EINVAL;

Expand Down

0 comments on commit baa2607

Please sign in to comment.