Skip to contentSkip to conversation

drm/gma500: Code cleanup - remove double variable assignment

PATCH New Arthur Borsboom 1 participant 1 message Mar 20, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/gma500: Code cleanup - remove double variable assignment

The same assignment has already been taken place before in the drm_driver struct

---
 drivers/gpu/drm/gma500/psb_drv.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/gma500/psb_drv.c +0 -1
index b686e56..edb903b 100644
@@ -358,7 +358,6 @@ static int psb_driver_load(struct drm_device *dev, unsigned long flags)
 
 	dev->vblank_disable_allowed = true;
 	dev->max_vblank_count = 0xffffff; /* only 24 bits of frame count */
-	dev->driver->get_vblank_counter = psb_get_vblank_counter;
 
 	psb_modeset_init(dev);
 	psb_fbdev_init(dev);
Signature · 1 line
1.9.0