diff mbox

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

Message ID 1395314046-3518-1-git-send-email-arthurborsboom@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Arthur Borsboom March 20, 2014, 11:14 a.m. UTC
The same assignment has already been taken place before in the
drm_driver struct

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

Patch

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