From d8bf6b0d5aa403e9ca69ded9ddda3babd0a64d31 Mon Sep 17 00:00:00 2001 From: Christopher Harvey Date: Wed, 20 Feb 2013 09:36:24 -0500 Subject: [PATCH] drm/mgag200: Remove extra variable assigns These two variables are set again immediately in 'mgag200_modeset_init' Signed-off-by: Christopher Harvey Signed-off-by: Dave Airlie --- drivers/gpu/drm/mgag200/mgag200_main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/mgag200/mgag200_main.c b/drivers/gpu/drm/mgag200/mgag200_main.c index 1f7ea057b2fc..99059237da38 100644 --- a/drivers/gpu/drm/mgag200/mgag200_main.c +++ b/drivers/gpu/drm/mgag200/mgag200_main.c @@ -217,8 +217,6 @@ int mgag200_driver_load(struct drm_device *dev, unsigned long flags) drm_mode_config_init(dev); dev->mode_config.funcs = (void *)&mga_mode_funcs; - dev->mode_config.min_width = 0; - dev->mode_config.min_height = 0; dev->mode_config.preferred_depth = 24; dev->mode_config.prefer_shadow = 1; -- GitLab