Skip to content

Commit

Permalink
drm/i915: fix if statement (bogus semi-colon)
Browse files Browse the repository at this point in the history
The semi-colon is a typo here and it makes the if statement
unconditional.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
  • Loading branch information
Dan Carpenter authored and Keith Packard committed Oct 28, 2011
1 parent 8282049 commit 3fca806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/agp/intel-gtt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1236,7 +1236,7 @@ static int i9xx_setup(void)
intel_private.gtt_bus_addr = reg_addr + gtt_offset;
}

if (needs_idle_maps());
if (needs_idle_maps())
intel_private.base.do_idle_maps = 1;

intel_i9xx_setup_flush();
Expand Down

0 comments on commit 3fca806

Please sign in to comment.