drm/mgag200: Remove extra variable assigns
authorChristopher Harvey <charvey@matrox.com>
Wed, 20 Feb 2013 14:36:24 +0000 (09:36 -0500)
committerDave Airlie <airlied@redhat.com>
Mon, 29 Apr 2013 23:57:23 +0000 (09:57 +1000)
These two variables are set again immediately in 'mgag200_modeset_init'

Signed-off-by: Christopher Harvey <charvey@matrox.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/mgag200/mgag200_main.c

index 1f7ea057b2fc4b484bc88d10fe7eb8baa13f5d6d..99059237da38e68d16cebd77be77269526214f97 100644 (file)
@@ -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;