Browse Source

drm/i915: fix if statement (bogus semi-colon)

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>
Dan Carpenter 13 years ago
parent
commit
35b09c9bf6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/char/agp/intel-gtt.c

+ 1 - 1
drivers/char/agp/intel-gtt.c

@@ -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();