From: Aaron Sierra <asierra@xes-inc.com>
To: David Woodhouse <dwmw2@infradead.org>,
Brian Norris <computersforpeace@gmail.com>
Cc: linux-mtd@lists.infradead.org,
adi-buildroot-devel@lists.sourceforge.net,
Steven Miao <realmz6@gmail.com>
Subject: [PATCH] mtd: bfin-async-flash: Remove unused variable
Date: Tue, 23 Sep 2014 14:07:24 -0500 (CDT) [thread overview]
Message-ID: <1931039891.303225.1411499244022.JavaMail.zimbra@xes-inc.com> (raw)
In-Reply-To: <1106241329.302591.1411499010840.JavaMail.zimbra@xes-inc.com>
Avoid the following compile warning:
drivers/mtd/maps/bfin-async-flash.c: In function 'bfin_flash_probe':
drivers/mtd/maps/bfin-async-flash.c:129: warning: unused variable 'ret'
Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
---
drivers/mtd/maps/bfin-async-flash.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/maps/bfin-async-flash.c b/drivers/mtd/maps/bfin-async-flash.c
index 6ea51e5..41730fe 100644
--- a/drivers/mtd/maps/bfin-async-flash.c
+++ b/drivers/mtd/maps/bfin-async-flash.c
@@ -126,7 +126,6 @@ static const char * const part_probe_types[] = {
static int bfin_flash_probe(struct platform_device *pdev)
{
- int ret;
struct physmap_flash_data *pdata = dev_get_platdata(&pdev->dev);
struct resource *memory = platform_get_resource(pdev, IORESOURCE_MEM, 0);
struct resource *flash_ambctl = platform_get_resource(pdev, IORESOURCE_MEM, 1);
--
1.9.1
next parent reply other threads:[~2014-09-23 19:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1106241329.302591.1411499010840.JavaMail.zimbra@xes-inc.com>
2014-09-23 19:07 ` Aaron Sierra [this message]
2014-10-22 8:39 ` [PATCH] mtd: bfin-async-flash: Remove unused variable Brian Norris
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=1931039891.303225.1411499244022.JavaMail.zimbra@xes-inc.com \
--to=asierra@xes-inc.com \
--cc=adi-buildroot-devel@lists.sourceforge.net \
--cc=computersforpeace@gmail.com \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=realmz6@gmail.com \
/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