From: Christopher Harvey Date: Wed, 20 Feb 2013 14:36:24 +0000 (-0500) Subject: drm/mgag200: Remove extra variable assigns X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d8bf6b0d5aa403e9ca69ded9ddda3babd0a64d31;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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;