diff options
| -rw-r--r-- | arch/powerpc/kernel/cacheinfo.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/cacheinfo.c b/arch/powerpc/kernel/cacheinfo.c index f2ed3ef4b129..862e2890bd3d 100644 --- a/arch/powerpc/kernel/cacheinfo.c +++ b/arch/powerpc/kernel/cacheinfo.c | |||
| @@ -767,7 +767,6 @@ static void cacheinfo_create_index_dir(struct cache *cache, int index, | |||
| 767 | cache_dir->kobj, "index%d", index); | 767 | cache_dir->kobj, "index%d", index); |
| 768 | if (rc) { | 768 | if (rc) { |
| 769 | kobject_put(&index_dir->kobj); | 769 | kobject_put(&index_dir->kobj); |
| 770 | kfree(index_dir); | ||
| 771 | return; | 770 | return; |
| 772 | } | 771 | } |
| 773 | 772 | ||
