From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Harvey Subject: [PATCH] drm/mgag200: Cleanup: Remove extra variable assigns Date: Tue, 26 Feb 2013 10:55:10 -0500 Message-ID: <20130226155510.GA18647@harvey-pc.matrox.com> References: <20130226155255.GA18595@harvey-pc.matrox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mtxmxout5.matrox.com (mtxmxout5.matrox.com [138.11.2.95]) by gabe.freedesktop.org (Postfix) with ESMTP id 6E6F3E65BC for ; Tue, 26 Feb 2013 08:14:26 -0800 (PST) Received: from venus.matrox.com (venus.matrox.com [192.168.1.30]) by mtxmxout5.matrox.com (Postfix) with ESMTP id C297E1C6E08 for ; Tue, 26 Feb 2013 10:50:50 -0500 (EST) Received: (from ssmsp@localhost) by venus.matrox.com (8.14.4/8.13.2) id r1QFooMT023272 for dri-devel@lists.freedesktop.org; Tue, 26 Feb 2013 10:50:50 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by venus.matrox.com (Postfix) with ESMTP id 14841F4DBE for ; Tue, 26 Feb 2013 10:50:50 -0500 (EST) Received: from pluton.matrox.com (pluton.matrox.com [192.168.8.7]) by venus.matrox.com (Postfix) with ESMTP id DE6EBF4DB5 for ; Tue, 26 Feb 2013 10:50:49 -0500 (EST) Content-Disposition: inline In-Reply-To: <20130226155255.GA18595@harvey-pc.matrox.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org Cc: Julia Lemire , Mathieu Larouche List-Id: dri-devel@lists.freedesktop.org These two variables are set again immediately in 'mgag200_modeset_init' Signed-off-by: Christopher Harvey --- 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 70dd3c5..aad280a 100644 --- a/drivers/gpu/drm/mgag200/mgag200_main.c +++ b/drivers/gpu/drm/mgag200/mgag200_main.c @@ -240,8 +240,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; -- 1.7.12.4