projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5737cb
)
rtc/m48t59: kfree(NULL) is OK
author
Wan ZongShun
<mcuos.com@gmail.com>
Wed, 11 Aug 2010 01:02:09 +0000
(18:02 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 11 Aug 2010 15:59:06 +0000
(08:59 -0700)
Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Paul Gortmaker <p_gortmaker@yahoo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-m48t59.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/rtc/rtc-m48t59.c
b/drivers/rtc/rtc-m48t59.c
index be8359fdb65a2c168cab426a73723e4591c60bd7..0b6645509c86ade7f0730f484e1c4538bdaea9d2 100644
(file)
--- 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;
}