tridentfb: remove misplaced enable_mmio()
authorKrzysztof Helt <[email protected]>
Mon, 12 May 2008 21:02:09 +0000 (14:02 -0700)
committerLinus Torvalds <[email protected]>
Tue, 13 May 2008 15:02:23 +0000 (08:02 -0700)
Remove redundant enable_mmio() call as the mmio mode is enabled in the probe
function earlier.

Signed-off-by: Krzysztof Helt <[email protected]>
Cc: "Antonino A. Daplas" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/video/tridentfb.c

index bd54cd0de39af13fc4170665878ed63ac1af4acb..982eeee0ae98017501268bce19038d6693266b2e 100644 (file)
@@ -905,7 +905,6 @@ static int tridentfb_set_par(struct fb_info *info)
        vblankstart = var->yres;
        vblankend = vtotal + 2;
 
-       enable_mmio();
        crtc_unlock();
        write3CE(CyberControl, 8);