mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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]>
This commit is contained in:
parent
a5737cb515
commit
4faf896c5e
1 changed files with 0 additions and 1 deletions
|
|
@ -506,7 +506,6 @@ out:
|
|||
free_irq(m48t59->irq, &pdev->dev);
|
||||
if (m48t59->ioaddr)
|
||||
iounmap(m48t59->ioaddr);
|
||||
if (m48t59)
|
||||
kfree(m48t59);
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue