diff options
author | Wan ZongShun <[email protected]> | 2010-08-10 18:02:09 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-08-11 08:59:06 -0700 |
commit | 4faf896c5e860b55b7444976225ff5ba85c0b286 (patch) | |
tree | 44b4beee13a22d42c7da4611861add0c13ff2f74 | |
parent | a5737cb5150f08b2cf216a7b5f615800b3a75260 (diff) |
rtc/m48t59: kfree(NULL) is OK
Signed-off-by: Wan ZongShun <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Cc: Paul Gortmaker <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r-- | drivers/rtc/rtc-m48t59.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-m48t59.c b/drivers/rtc/rtc-m48t59.c index be8359fdb65a..0b6645509c86 100644 --- a/drivers/rtc/rtc-m48t59.c +++ b/drivers/rtc/rtc-m48t59.c @@ -506,7 +506,6 @@ out: free_irq(m48t59->irq, &pdev->dev); if (m48t59->ioaddr) iounmap(m48t59->ioaddr); - if (m48t59) kfree(m48t59); return ret; } |