Commit d8bf6b0d authored by Christopher Harvey's avatar Christopher Harvey Committed by Dave Airlie

drm/mgag200: Remove extra variable assigns

These two variables are set again immediately in 'mgag200_modeset_init'
Signed-off-by: default avatarChristopher Harvey <charvey@matrox.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent f1998fe2
...@@ -217,8 +217,6 @@ int mgag200_driver_load(struct drm_device *dev, unsigned long flags) ...@@ -217,8 +217,6 @@ int mgag200_driver_load(struct drm_device *dev, unsigned long flags)
drm_mode_config_init(dev); drm_mode_config_init(dev);
dev->mode_config.funcs = (void *)&mga_mode_funcs; 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.preferred_depth = 24;
dev->mode_config.prefer_shadow = 1; dev->mode_config.prefer_shadow = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment