Skip to content

Commit

Permalink
drm/mgag200: Remove extra variable assigns
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christopher Harvey authored and Dave Airlie committed Apr 29, 2013
1 parent f1998fe commit d8bf6b0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/mgag200/mgag200_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit d8bf6b0

Please sign in to comment.