From patchwork Fri Oct 21 01:07:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Zack Rusin X-Patchwork-Id: 13014177 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 663C7C4332F for ; Fri, 21 Oct 2022 01:07:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0429010E275; Fri, 21 Oct 2022 01:07:14 +0000 (UTC) Received: from letterbox.kde.org (letterbox.kde.org [46.43.1.242]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1660E10E275; Fri, 21 Oct 2022 01:07:10 +0000 (UTC) Received: from vertex.vmware.com (pool-173-49-113-140.phlapa.fios.verizon.net [173.49.113.140]) (Authenticated sender: zack) by letterbox.kde.org (Postfix) with ESMTPSA id E046B321FBE; Fri, 21 Oct 2022 02:07:05 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kde.org; s=users; t=1666314428; bh=mEZCh6DKMZxYs93u5HYN5AP3T4mH4+XzTxRdxvODvmw=; h=From:To:Cc:Subject:Date:From; b=f+8WwnTl+3Upzwg+ngXQt0iN2WuzWtkNoNapASjI96Li+fZnYuE06m/AkjvfVx9fz wKwI5nSLVtziDl/hAwOn+u3PEbKlwLhlH+AXn789MxamNoe874UrdW1EVoVkUswoLn K+2Uibop1+YSgaf3JJte7NgpUyAQJXKGXsrarKPPzEfSyp0MYQzgRW4f8GpVrfnBZQ EEkD1hAUd/jKBUWLFPcrlbuGudZIv20cDhY4A9SvRHBjs7oh08v5RU7zdjKnscuNdD F+BCCZU3M40Wy8/Q6SQdnwDS0B0ggIn2VtfGYDo5esOlb63uU6RkRHJ5h9InNxgDWY H8sMvUFCaozRg== From: Zack Rusin To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/nouveau: Remove unused variable Date: Thu, 20 Oct 2022 21:07:03 -0400 Message-Id: <20221021010703.536318-1-zack@kde.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Zack Rusin Cc: Stephen Rothwell , Karol Herbst , Thomas Zimmermann , nouveau@lists.freedesktop.org, Laurent Pinchart , =?utf-8?q?Christian_K?= =?utf-8?q?=C3=B6nig?= , Ben Skeggs Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Zack Rusin Trivial removal of an unused variable. Not sure how it snuck by me and build bots in the 7c99616e3fe7. Fixes: 7c99616e3fe7 ("drm: Remove drm_mode_config::fb_base") Reported-by: Stephen Rothwell Cc: Laurent Pinchart Cc: Thomas Zimmermann Cc: Christian König Cc: Ben Skeggs Cc: Karol Herbst Cc: Lyude Paul Reviewed-by: Lyude Paul --- drivers/gpu/drm/nouveau/nouveau_display.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c index 928fdfa8e8e5..2e97186090c8 100644 --- a/drivers/gpu/drm/nouveau/nouveau_display.c +++ b/drivers/gpu/drm/nouveau/nouveau_display.c @@ -659,7 +659,6 @@ int nouveau_display_create(struct drm_device *dev) { struct nouveau_drm *drm = nouveau_drm(dev); - struct nvkm_device *device = nvxx_device(&drm->client.device); struct nouveau_display *disp; int ret;