From patchwork Fri Sep 23 20:12:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Lothian X-Patchwork-Id: 9348775 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CE96C6077A for ; Fri, 23 Sep 2016 20:14:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C00002ADC8 for ; Fri, 23 Sep 2016 20:14:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B49AD2ADCA; Fri, 23 Sep 2016 20:14:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DAC072ADC8 for ; Fri, 23 Sep 2016 20:14:15 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E0F136E1CA; Fri, 23 Sep 2016 20:14:12 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id 12BE36E1CA for ; Fri, 23 Sep 2016 20:14:11 +0000 (UTC) Received: by mail-wm0-x243.google.com with SMTP id l132so4380433wmf.1 for ; Fri, 23 Sep 2016 13:14:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fireburn-co-uk.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=MOArV42Izv/Kmd6wanQnufLz6NPsHR4zX/QiP+DNWwY=; b=o7q9bZSwCBPW15HQORqz9tVh8j2qxFOCPOQgJwcsPZ8Bchilp+Yw8bmrrFnLGnayKJ A8HqeIjYHIr1VDYtCvEN6+/uzpi/0V7P1fkO18soYxAxsm7L0fJtHd/5G+YanZ9KJwh8 ZH+8c0V6h/jN/9J8dL9R6NJkUqDvasf6tIlms9DsM+Rrry5Ro0ybLgqokRWsQo4temx3 LEcWW/9DO189BkIBsIumVUMIkjX4BD8Ymb198kS2/zGRejnPEodIdpCDNP+7M4PgEUi5 2YPHlpIIi4eqIiySudr/nZfx6UiXOnBLzhqrEyrVApt8KK0PsoRnBqmZlxhc7F32NYcI kQUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=MOArV42Izv/Kmd6wanQnufLz6NPsHR4zX/QiP+DNWwY=; b=cviQmNKLdxFtuXSJ99yGWdGy292iHP3e4Es//iQGM711odS4kM9FvPlIIH3EC/HwpR pIgClpUBebM3ZTGHGxhZNqvBjG4ADVnJEdIINfRT+qdgX2+FnyDDrzwNKmjs6sCxa/kc vLKBGXvg0hli5Ylp2Oi2fo4YqS5uHw1qpLN6tELBJfU1qQWaR5w6ro146WkucdeuZiJf C06eSBS3rHC/0+EyTUjIiPecKVP5M7uoh5/BsdyjyhDg70KeZIotRzp99wr2fZKFnWcq MzpDsTgrmXyesoqyTkwbWIcunlOTc/Zga+1edCWxD5wWopkZouhX8ygl/+B2RU8Kt2s1 RiJw== X-Gm-Message-State: AA6/9Rl+FPzQ5EKbXSdW6lq5Kzj/NW+FPOFiN6XcaXoUe2W9qKTkeUvIbfLlzZCcxUXhpQ== X-Received: by 10.28.174.76 with SMTP id x73mr4597615wme.60.1474661650279; Fri, 23 Sep 2016 13:14:10 -0700 (PDT) Received: from axion.fireburn.co.uk (host86-147-79-201.range86-147.btcentralplus.com. [86.147.79.201]) by smtp.gmail.com with ESMTPSA id u185sm4661498wmu.20.2016.09.23.13.14.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 23 Sep 2016 13:14:09 -0700 (PDT) From: Mike Lothian To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm/amdgpu Remove now unneeded variable adev Date: Fri, 23 Sep 2016 21:12:30 +0100 Message-Id: <20160923201230.15118-1-mike@fireburn.co.uk> X-Mailer: git-send-email 2.10.0 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-Virus-Scanned: ClamAV using ClamSMTP Since commit 62336cc1ca1b96f33e3344ca6e910d30adca749a adev is now no longer required in amdgpu_drv.c Signed-off-by: Mike Lothian --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c index 5b592af..a5ec1f9 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c @@ -481,7 +481,6 @@ static void amdgpu_pci_shutdown(struct pci_dev *pdev) { struct drm_device *dev = pci_get_drvdata(pdev); - struct amdgpu_device *adev = dev->dev_private; /* if we are running in a VM, make sure the device * torn down properly on reboot/shutdown.