From patchwork Wed Sep 23 13:36:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 7249771 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B529ABEEC1 for ; Wed, 23 Sep 2015 13:36:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E94D520AF2 for ; Wed, 23 Sep 2015 13:36:21 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 065EB20AEE for ; Wed, 23 Sep 2015 13:36:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AD56A880C6; Wed, 23 Sep 2015 06:36:18 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4119972088 for ; Wed, 23 Sep 2015 06:36:17 -0700 (PDT) Received: by pacfv12 with SMTP id fv12so41612108pac.2 for ; Wed, 23 Sep 2015 06:36:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=sKWTH4F7vHt0vHPj1Kq6XmHju1zD5z00sL/hkGjomfY=; b=m2rovKbzRFXG87//NQXLnvLYx5ZlAJ4aOTRhlsvuvXbAdRH80L3PmqoUNdp2nTRZGl JCoVzcpcFxohleMFXdKe1WG+N+DtpAy10jNzApkF3dUwD/1ExCWRit9GJunyib6bjeX9 P70lmaF7rmhq55C7G72UGa7ovjKywprRDqb3678/43kGYtitirsSo+cGdsIvEkJNsN/t YuT2DogMj3wszoFn9G5AozMOANeMvN+TMD6yW5D1lL6UR/jf2FphIUMkdUhybBp5yCM9 cRe5XNFCaFdP7LruH11mBxvVeQ8uwdPbgYiusyfQDpWnDXdJeewY8EHvOv23AKZKBDAb 5+Ug== X-Received: by 10.66.146.4 with SMTP id sy4mr37079009pab.79.1443015376840; Wed, 23 Sep 2015 06:36:16 -0700 (PDT) Received: from localhost.localdomain ([49.206.240.178]) by smtp.gmail.com with ESMTPSA id mn2sm8109206pbc.75.2015.09.23.06.36.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 23 Sep 2015 06:36:16 -0700 (PDT) From: Sudip Mukherjee To: David Airlie , Daniel Vetter Subject: [PATCH] drm/core: remove unused variable Date: Wed, 23 Sep 2015 19:06:10 +0530 Message-Id: <1443015370-12668-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.9.1 Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Sudip Mukherjee X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The variable dev was not used anywhere. Signed-off-by: Sudip Mukherjee --- drivers/gpu/drm/drm_crtc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index 9d55c0c..e600a5f 100644 --- a/drivers/gpu/drm/drm_crtc.c +++ b/drivers/gpu/drm/drm_crtc.c @@ -3491,7 +3491,6 @@ out_err1: */ void drm_fb_release(struct drm_file *priv) { - struct drm_device *dev = priv->minor->dev; struct drm_framebuffer *fb, *tfb; /*