* [PATCH] mtd: bfin-async-flash: Remove unused variable
[not found] <1106241329.302591.1411499010840.JavaMail.zimbra@xes-inc.com>
@ 2014-09-23 19:07 ` Aaron Sierra
2014-10-22 8:39 ` Brian Norris
0 siblings, 1 reply; 2+ messages in thread
From: Aaron Sierra @ 2014-09-23 19:07 UTC (permalink / raw)
To: David Woodhouse, Brian Norris; +Cc: linux-mtd, adi-buildroot-devel, Steven Miao
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mtd: bfin-async-flash: Remove unused variable
2014-09-23 19:07 ` [PATCH] mtd: bfin-async-flash: Remove unused variable Aaron Sierra
@ 2014-10-22 8:39 ` Brian Norris
0 siblings, 0 replies; 2+ messages in thread
From: Brian Norris @ 2014-10-22 8:39 UTC (permalink / raw)
To: Aaron Sierra; +Cc: linux-mtd, David Woodhouse, adi-buildroot-devel, Steven Miao
On Tue, Sep 23, 2014 at 02:07:24PM -0500, Aaron Sierra wrote:
> 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>
Pushed to l2-mtd.git.
Brian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-22 8:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1106241329.302591.1411499010840.JavaMail.zimbra@xes-inc.com>
2014-09-23 19:07 ` [PATCH] mtd: bfin-async-flash: Remove unused variable Aaron Sierra
2014-10-22 8:39 ` Brian Norris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox