Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
drivers
/
mtd
/
ubi
/
attach.c
diff --git
a/kernel/drivers/mtd/ubi/attach.c
b/kernel/drivers/mtd/ubi/attach.c
index
68eea5b
..
c1aaf03
100644
(file)
--- a/
kernel/drivers/mtd/ubi/attach.c
+++ b/
kernel/drivers/mtd/ubi/attach.c
@@
-1209,9
+1209,7
@@
static void destroy_ai(struct ubi_attach_info *ai)
}
}
- if (ai->aeb_slab_cache)
- kmem_cache_destroy(ai->aeb_slab_cache);
-
+ kmem_cache_destroy(ai->aeb_slab_cache);
kfree(ai);
}