From patchwork Tue Feb 9 14:52:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 8262451 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@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 04461BEEE5 for ; Tue, 9 Feb 2016 14:52:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1DA3820263 for ; Tue, 9 Feb 2016 14:52:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A25552026D for ; Tue, 9 Feb 2016 14:52:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751653AbcBIOwg (ORCPT ); Tue, 9 Feb 2016 09:52:36 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:35645 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750781AbcBIOwf (ORCPT ); Tue, 9 Feb 2016 09:52:35 -0500 Received: by mail-wm0-f47.google.com with SMTP id c200so63745672wme.0; Tue, 09 Feb 2016 06:52:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=zJmSSnXyeLiysiCIq4HLVTq1+YUXGcRgKuFGygz905Y=; b=bG0VjudIkc40NgPHapoOSdmwtXoqdhWzWY5XqCcJfStca5VwUNKsZeRKKCG8zLXnC+ zLeGsy3eB81/u5KsMrbVUiP1TZfpHgFUfQD44KDEOIGT4/LhD3EbJUU/4+2Qrw+v6j0+ tm7wZk/5PUim4f1EHYW6HPmPu/lZ4J2U1v9S+4Bczws0lTeugUGPLTgQeQMlGKXj1qrM LrgU8Ftdsyruo3jC53rDyXO57g0XZYTpcsmlN8YSSRNfh9ldKLpw65bZJWHV01w17Frn kCgEI7AjfciOtU73SIdf3yOQKktm01qYDv2yb/ITuMxAWGONOxoTj8vboRMYVtDcfeLm wU1A== 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=zJmSSnXyeLiysiCIq4HLVTq1+YUXGcRgKuFGygz905Y=; b=hN+ioFFVThTJ4/Y2vxU4dLtl+WyKIJbCOdzqFWJZlFD6l4i9mRe/ftlP71T0g+IzA+ SPKVtuVCSmSiyWHQSvyRpO7qHubslk+HPYWueoYF71JvYBWQXfyL4QKZodg4gdAJ87S0 ZRFoqOu26xfmT+ZBPE5r3ANIEa5kLwKgv/+XFLKLcPqX8g0AhSmjy9CBx0/NAs5kc6Qi lyGSpvgT3utU3TKId8dFqLgj94VoFTy0xcQ+QdZ4NYbl1QJZNla8Ww9fiaPYje8dMfuS 7Wy52zqEFkkRyWm2Gb7sPrv3JnmQIUgZkvwjacpa2faet1d4H1Mt/186t7+pvHupl0Ch ik0Q== X-Gm-Message-State: AG10YOSOeLTVMG8BHNGz5n6PCHcYWzabGy3l5T31ILbQuFNQOfct85RRhh04WrJMyo0Z5Q== X-Received: by 10.194.103.131 with SMTP id fw3mr39342841wjb.55.1455029554778; Tue, 09 Feb 2016 06:52:34 -0800 (PST) Received: from localhost (port-17172.pppoe.wtnet.de. [46.59.128.173]) by smtp.gmail.com with ESMTPSA id t195sm18068260wme.13.2016.02.09.06.52.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Feb 2016 06:52:33 -0800 (PST) From: Thierry Reding To: Bjorn Helgaas Cc: Stephen Warren , Alexandre Courbot , linux-pci@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH 1/3] PCI: tegra: Remove unused field Date: Tue, 9 Feb 2016 15:52:31 +0100 Message-Id: <1455029553-9460-1-git-send-email-thierry.reding@gmail.com> X-Mailer: git-send-email 2.7.1 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 From: Thierry Reding The num_ports field of the tegra_pcie structure is never used so it can be safely removed. Signed-off-by: Thierry Reding --- drivers/pci/host/pci-tegra.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/host/pci-tegra.c b/drivers/pci/host/pci-tegra.c index 4cb8157a4678..82d7ad3a1c3a 100644 --- a/drivers/pci/host/pci-tegra.c +++ b/drivers/pci/host/pci-tegra.c @@ -295,7 +295,6 @@ struct tegra_pcie { struct tegra_msi msi; struct list_head ports; - unsigned int num_ports; u32 xbar_config; struct regulator_bulk_data *supplies;