diff options
author | Paul Mackerras <paulus@samba.org> | 2005-11-07 19:14:20 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-07 19:14:20 -0500 |
commit | 24bfb00123e82a2e70bd115277d922438813515b (patch) | |
tree | 27328b8a5718e16d64e2d101f4b7ddcad5930aed /arch/powerpc/platforms | |
parent | c6135234550ed89a6fd0e8cb229633967e41d649 (diff) | |
parent | 3f00d3e8fb963968a922d821a9a53b503b687e81 (diff) |
Merge ../linux-2.6
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/pseries/reconfig.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/pseries/reconfig.c b/arch/powerpc/platforms/pseries/reconfig.c index 58c61219d08e..d7d400339458 100644 --- a/arch/powerpc/platforms/pseries/reconfig.c +++ b/arch/powerpc/platforms/pseries/reconfig.c | |||
@@ -286,10 +286,8 @@ static struct property *new_property(const char *name, const int length, | |||
286 | return new; | 286 | return new; |
287 | 287 | ||
288 | cleanup: | 288 | cleanup: |
289 | if (new->name) | 289 | kfree(new->name); |
290 | kfree(new->name); | 290 | kfree(new->value); |
291 | if (new->value) | ||
292 | kfree(new->value); | ||
293 | kfree(new); | 291 | kfree(new); |
294 | return NULL; | 292 | return NULL; |
295 | } | 293 | } |