From patchwork Fri Aug 17 14:20:02 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damien Lespiau X-Patchwork-Id: 1338711 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 46B483FC81 for ; Fri, 17 Aug 2012 14:20:22 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0CF059E7F1 for ; Fri, 17 Aug 2012 07:20:22 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pz0-f49.google.com (mail-pz0-f49.google.com [209.85.210.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 027859E762 for ; Fri, 17 Aug 2012 07:20:10 -0700 (PDT) Received: by dajq27 with SMTP id q27so911613daj.36 for ; Fri, 17 Aug 2012 07:20:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:x-mailer; bh=oat3smtx4EePD2EmlHt61MPgV0wL/aO2f7STcikRLWE=; b=p/142nRtsOF2Gz7r6ZQAskchL6Hm5gYFYCGO5wP4YIQEj9Ln6oJdDpT1epEoGWzr7x Sj/Ea2bdSv9ltsCI3B7Wf48yW/r1bBo1y69cNYbMFmPZaLKW+pFmgz2MgHv0QJAHz81H LOMkM+P3+cQGtgqP6xh8J/cZGPOBxSOtmoBeUQ5JUAv60XECKVb9l8Mp6kXrnX/G6eUO sD5XBdVwQir4InAqY3/ztxskV78K4MigBbswCJbCQIZXjU7ac7tCF0YnD+68A6IzNFYI IpCg3fvDAwVyRVs9MQEeuvM6d0NTmuz+oIDRNLD6zaEP1RcCc2Kdj0oVz76+/20gy76Z 8Cgw== Received: by 10.68.241.99 with SMTP id wh3mr12124103pbc.16.1345213210506; Fri, 17 Aug 2012 07:20:10 -0700 (PDT) Received: from dyon.amr.corp.intel.com ([83.217.123.106]) by mx.google.com with ESMTPS id jz4sm5016510pbc.17.2012.08.17.07.20.08 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 17 Aug 2012 07:20:09 -0700 (PDT) From: Damien Lespiau To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm: Remove two unused fields from struct drm_display_mode Date: Fri, 17 Aug 2012 15:20:02 +0100 Message-Id: <1345213202-14080-1-git-send-email-damien.lespiau@gmail.com> X-Mailer: git-send-email 1.7.7.5 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org From: Damien Lespiau Signed-off-by: Damien Lespiau Reviewed-by: Jani Nikula --- drivers/gpu/drm/drm_modes.c | 3 --- include/drm/drm_crtc.h | 2 -- 2 files changed, 0 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c index b7adb4a..28637c1 100644 --- a/drivers/gpu/drm/drm_modes.c +++ b/drivers/gpu/drm/drm_modes.c @@ -706,9 +706,6 @@ void drm_mode_set_crtcinfo(struct drm_display_mode *p, int adjust_flags) p->crtc_vblank_end = max(p->crtc_vsync_end, p->crtc_vtotal); p->crtc_hblank_start = min(p->crtc_hsync_start, p->crtc_hdisplay); p->crtc_hblank_end = max(p->crtc_hsync_end, p->crtc_htotal); - - p->crtc_hadjusted = false; - p->crtc_vadjusted = false; } EXPORT_SYMBOL(drm_mode_set_crtcinfo); diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index a1a0386..ced3625 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h @@ -166,8 +166,6 @@ struct drm_display_mode { int crtc_vsync_start; int crtc_vsync_end; int crtc_vtotal; - int crtc_hadjusted; - int crtc_vadjusted; /* Driver private mode info */ int private_size;