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

Arthur Borsboom arthurborsboom at gmail.com
Thu Mar 20 04:14:06 PDT 2014


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

Signed-off-by: Arthur Borsboom <arthurborsboom at gmail.com>
---
 drivers/gpu/drm/gma500/psb_drv.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/gma500/psb_drv.c b/drivers/gpu/drm/gma500/psb_drv.c
index b686e56..edb903b 100644
--- a/drivers/gpu/drm/gma500/psb_drv.c
+++ b/drivers/gpu/drm/gma500/psb_drv.c
@@ -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);
-- 
1.9.0



More information about the dri-devel mailing list