From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1givYv-0007nd-0d for barebox@lists.infradead.org; Mon, 14 Jan 2019 06:17:30 +0000 Received: by mail-pl1-x643.google.com with SMTP id w4so9656575plz.1 for ; Sun, 13 Jan 2019 22:17:28 -0800 (PST) From: Andrey Smirnov Date: Sun, 13 Jan 2019 22:16:56 -0800 Message-Id: <20190114061709.13948-4-andrew.smirnov@gmail.com> In-Reply-To: <20190114061709.13948-1-andrew.smirnov@gmail.com> References: <20190114061709.13948-1-andrew.smirnov@gmail.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v3 03/16] PCI: Remove superfluous parens in setup_device() To: barebox@lists.infradead.org Cc: Andrey Smirnov , Sam Ravnborg Remove superfluous parens in setup_device(). No functional change intended. Reviewed-by: Sam Ravnborg Signed-off-by: Andrey Smirnov --- drivers/pci/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 5e67750c39..b8089207a4 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -245,7 +245,7 @@ static void setup_device(struct pci_dev *dev, int max_bar) dev->resource[bar].start = last_addr; dev->resource[bar].end = last_addr + size - 1; - if ((mask & PCI_BASE_ADDRESS_MEM_TYPE_64)) { + if (mask & PCI_BASE_ADDRESS_MEM_TYPE_64) { dev->resource[bar].flags |= IORESOURCE_MEM_64; pci_write_config_dword(dev, PCI_BASE_ADDRESS_1 + bar * 4, 0); -- 2.20.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox