aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/rtas_flash.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/rtas_flash.c b/arch/powerpc/kernel/rtas_flash.c
index 20b0120db0c3..8329190312c1 100644
--- a/arch/powerpc/kernel/rtas_flash.c
+++ b/arch/powerpc/kernel/rtas_flash.c
@@ -650,10 +650,8 @@ static int initialize_flash_pde_data(const char *rtas_call_name,
650 int token; 650 int token;
651 651
652 dp->data = kzalloc(buf_size, GFP_KERNEL); 652 dp->data = kzalloc(buf_size, GFP_KERNEL);
653 if (dp->data == NULL) { 653 if (dp->data == NULL)
654 remove_flash_pde(dp);
655 return -ENOMEM; 654 return -ENOMEM;
656 }
657 655
658 /* 656 /*
659 * This code assumes that the status int is the first member of the 657 * This code assumes that the status int is the first member of the