From patchwork Thu Jun 30 13:14:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 9207503 X-Patchwork-Delegate: bhelgaas@google.com 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 562436075F for ; Thu, 30 Jun 2016 13:15:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 44B67284BF for ; Thu, 30 Jun 2016 13:15:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3747F285A4; Thu, 30 Jun 2016 13:15:10 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 93F0E284BF for ; Thu, 30 Jun 2016 13:15:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751945AbcF3NPI (ORCPT ); Thu, 30 Jun 2016 09:15:08 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:33958 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751965AbcF3NPH (ORCPT ); Thu, 30 Jun 2016 09:15:07 -0400 Received: by mail-pf0-f193.google.com with SMTP id 66so7393780pfy.1; Thu, 30 Jun 2016 06:14:43 -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:in-reply-to:references; bh=Nfa/TyGm6ihZB5DFk0B0HV9I4k0SCUstMF8VGc6Pvgc=; b=rthbbJtSz2vphaR/d3Mez4iqf5wB3m8YWfbFcIv1gi2AR6zRg+q2qPE+qFz8bb3mOU fOF2QAUC9jEwlOzDoVAvpMSbv3QKFRuAESlSdJmm+XnPQm/Ozi/SCNjgwkg/m1gbt3qd bFv2e2xDOFlR6RUkuT8jzXWOMnzfRqPeLtHjUMAMwx593ZwgulIHHokhmK6E7g5STzJI k0XamB3UvzcUbH2XGjcNSwiuogouS+kAw5mmCaDUKLcmgbTh/zsZtWIW0INNu4i28wCv E2DJeCXWwPT/LVqV/bpSC+q1L/mlDzYP2QHPVqnXtFLwthd06q0IEAqM3r0/+de3eVMQ nR7w== 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:in-reply-to :references; bh=Nfa/TyGm6ihZB5DFk0B0HV9I4k0SCUstMF8VGc6Pvgc=; b=R/PaksNu3w4BHzUwz3q8CK0f0fIMGY0yOsPLc5osh2TyxGknsEUvO3O74eVvJOLLyM L8Nr/zNyfVjwzIvVAnyYDeBha8MLrR29fd409MU61bTt1i49ogDwBxPHHsg+OuYZg1GF FnEAVbQXPLsNye7CwEdO6JpO45wsz7LKeu4CkJ+Gd+0Prtnks6J+R2xtaXdNtbkv8oQ2 4JPgEbhpxWUgvUbi3e/kVARNMt37u4+kBpBJYyC022bAf7xZzowk7zCH2aWGwaZHEhXf YXhKxCeTLPSaxaz+cf4m2JNxcdZxNQfe6uZRhCEbZPBZjfkGHRzKUxe5MKHrZqUb1R6B TkGQ== X-Gm-Message-State: ALyK8tICEeX8x2n5n3fBsxGKEFbun3Bk5niYsW67tiM9ITAH2qHLNyvH26xP+97G4TJIHQ== X-Received: by 10.98.213.2 with SMTP id d2mr21468022pfg.123.1467292483583; Thu, 30 Jun 2016 06:14:43 -0700 (PDT) Received: from localhost (port-5350.pppoe.wtnet.de. [84.46.20.250]) by smtp.gmail.com with ESMTPSA id rf14sm5938158pab.25.2016.06.30.06.14.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Jun 2016 06:14:42 -0700 (PDT) From: Thierry Reding To: Thierry Reding Cc: Bjorn Helgaas , linux-tegra@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH 3/3] PCI: tegra: Stop setting pcibios_min_mem Date: Thu, 30 Jun 2016 15:14:30 +0200 Message-Id: <20160630131430.32096-3-thierry.reding@gmail.com> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20160630131430.32096-1-thierry.reding@gmail.com> References: <20160630131430.32096-1-thierry.reding@gmail.com> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Thierry Reding In practice this value will never be used and it hinders portability of the driver, so remove it. Signed-off-by: Thierry Reding --- drivers/pci/host/pci-tegra.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/pci/host/pci-tegra.c b/drivers/pci/host/pci-tegra.c index f04b062e8c67..bbf77a49517d 100644 --- a/drivers/pci/host/pci-tegra.c +++ b/drivers/pci/host/pci-tegra.c @@ -2249,8 +2249,6 @@ static int tegra_pcie_probe(struct platform_device *pdev) if (err < 0) return err; - pcibios_min_mem = 0; - err = tegra_pcie_get_resources(pcie); if (err < 0) { dev_err(&pdev->dev, "failed to request resources: %d\n", err);