lkml.org 
[lkml]   [2009]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] mfd: DS1WM: remove warning about unused label err2
Date
Hi Samuel,

thanks for queuing the patchset. Could you please fold this into the DS1WM clock removal patch?

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
---
drivers/w1/masters/ds1wm.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/w1/masters/ds1wm.c b/drivers/w1/masters/ds1wm.c
index b982aa6..37f08c8 100644
--- a/drivers/w1/masters/ds1wm.c
+++ b/drivers/w1/masters/ds1wm.c
@@ -387,13 +387,12 @@ static int ds1wm_probe(struct platform_device *pdev)

ret = w1_add_master_device(&ds1wm_master);
if (ret)
- goto err3;
+ goto err2;

return 0;

-err3:
- ds1wm_down(ds1wm_data);
err2:
+ ds1wm_down(ds1wm_data);
free_irq(ds1wm_data->irq, ds1wm_data);
err1:
iounmap(ds1wm_data->map);
--
1.5.6.5


\
 
 \ /
  Last update: 2009-02-06 17:35    [W:0.055 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site