From patchwork Fri Nov 15 12:45:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wanlong Gao X-Patchwork-Id: 3190231 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E0D809F39E for ; Fri, 15 Nov 2013 22:12:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1CDDA207C1 for ; Fri, 15 Nov 2013 22:12:29 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 16C6F206FD for ; Fri, 15 Nov 2013 22:12:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 48695105AEC; Fri, 15 Nov 2013 14:12:26 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from song.cn.fujitsu.com (unknown [222.73.24.84]) by gabe.freedesktop.org (Postfix) with ESMTP id 92749FB880 for ; Fri, 15 Nov 2013 04:46:52 -0800 (PST) X-IronPort-AV: E=Sophos;i="4.93,707,1378828800"; d="scan'208";a="9045072" Received: from unknown (HELO tang.cn.fujitsu.com) ([10.167.250.3]) by song.cn.fujitsu.com with ESMTP; 15 Nov 2013 20:43:23 +0800 Received: from fnstmail02.fnst.cn.fujitsu.com (tang.cn.fujitsu.com [127.0.0.1]) by tang.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id rAFCkjUV014557; Fri, 15 Nov 2013 20:46:46 +0800 Received: from G08FNSTD121251.fnst.cn.fujitsu.com ([10.167.226.75]) by fnstmail02.fnst.cn.fujitsu.com (Lotus Domino Release 8.5.3) with ESMTP id 2013111520445803-162521 ; Fri, 15 Nov 2013 20:44:58 +0800 From: Wanlong Gao To: bskeggs@redhat.com Subject: [PATCH freedesk/drm-nouveau-next] drm: remove unused variable Date: Fri, 15 Nov 2013 20:45:57 +0800 Message-Id: <1384519557-371-1-git-send-email-gaowanlong@cn.fujitsu.com> X-Mailer: git-send-email 1.8.5.rc1.17.g0ecd94d X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2013/11/15 20:44:58, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2013/11/15 20:45:00, Serialize complete at 2013/11/15 20:45:00 X-Mailman-Approved-At: Fri, 15 Nov 2013 14:12:11 -0800 Cc: Wanlong Gao , dri-devel@lists.freedesktop.org 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@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, 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 /git/linux/drivers/gpu/drm/nouveau/core/subdev/mc/base.c: In function 'nouveau_mc_intr': /git/linux/drivers/gpu/drm/nouveau/core/subdev/mc/base.c:43:25: warning: unused variable 'device' [-Wunused-variable] Signed-off-by: Wanlong Gao --- drivers/gpu/drm/nouveau/core/subdev/mc/base.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/core/subdev/mc/base.c b/drivers/gpu/drm/nouveau/core/subdev/mc/base.c index bc19aa4..b4b9943 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/mc/base.c +++ b/drivers/gpu/drm/nouveau/core/subdev/mc/base.c @@ -40,7 +40,6 @@ nouveau_mc_intr(int irq, void *arg) struct nouveau_mc *pmc = arg; const struct nouveau_mc_oclass *oclass = (void *)nv_object(pmc)->oclass; const struct nouveau_mc_intr *map = oclass->intr; - struct nouveau_device *device = nv_device(pmc); struct nouveau_subdev *unit; u32 intr;