From: Fabio Estevam <fabio.estevam@nxp.com>
To: <bhelgaas@google.com>
Cc: <jingoohan1@gmail.com>, <linux-pci@vger.kernel.org>,
Fabio Estevam <fabio.estevam@nxp.com>
Subject: [PATCH] PCI: designware: Remove unused variable
Date: Mon, 11 Jan 2016 09:41:10 -0200 [thread overview]
Message-ID: <1452512470-20890-1-git-send-email-fabio.estevam@nxp.com> (raw)
Commit 50a1a3b06dddaa5b ("PCI: designware: Simplify control flow")
causes the following build warning:
drivers/pci/host/pcie-designware.c:683:6: warning: unused variable 'ret' [-Wunused-variable]
Remove the unused 'ret' varaible.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
drivers/pci/host/pcie-designware.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c
index 9a666db..2171682 100644
--- a/drivers/pci/host/pcie-designware.c
+++ b/drivers/pci/host/pcie-designware.c
@@ -680,7 +680,6 @@ static int dw_pcie_wr_conf(struct pci_bus *bus, u32 devfn,
int where, int size, u32 val)
{
struct pcie_port *pp = bus->sysdata;
- int ret;
if (dw_pcie_valid_config(pp, bus, PCI_SLOT(devfn)) == 0)
return PCIBIOS_DEVICE_NOT_FOUND;
--
1.9.1
next reply other threads:[~2016-01-11 11:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-11 11:41 Fabio Estevam [this message]
2016-01-11 14:43 ` [PATCH] PCI: designware: Remove unused variable Bjorn Helgaas
-- strict thread matches above, loose matches on Subject: below --
2016-01-11 12:11 [PATCH] PCI: designware: remove " Arnd Bergmann
2016-01-11 12:15 [PATCH] PCI: designware: Remove " Thierry Reding
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1452512470-20890-1-git-send-email-fabio.estevam@nxp.com \
--to=fabio.estevam@nxp.com \
--cc=bhelgaas@google.com \
--cc=jingoohan1@gmail.com \
--cc=linux-pci@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).