git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'origin'
[pandora-kernel.git]
/
arch
/
powerpc
/
kernel
/
rtas_flash.c
diff --git
a/arch/powerpc/kernel/rtas_flash.c
b/arch/powerpc/kernel/rtas_flash.c
index
5050009
..
aaf384c
100644
(file)
--- a/
arch/powerpc/kernel/rtas_flash.c
+++ b/
arch/powerpc/kernel/rtas_flash.c
@@
-672,8
+672,7
@@
static void rtas_flash_firmware(int reboot_type)
static void remove_flash_pde(struct proc_dir_entry *dp)
{
if (dp) {
- if (dp->data != NULL)
- kfree(dp->data);
+ kfree(dp->data);
dp->owner = NULL;
remove_proc_entry(dp->name, dp->parent);
}