OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: Remove slab destructors from kmem_cache_create().
[sagit-ice-cold/kernel_xiaomi_msm8998.git]
/
drivers
/
mtd
/
ubi
/
eba.c
diff --git
a/drivers/mtd/ubi/eba.c
b/drivers/mtd/ubi/eba.c
index
8aff938
..
7c5e29e
100644
(file)
--- a/
drivers/mtd/ubi/eba.c
+++ b/
drivers/mtd/ubi/eba.c
@@
-1149,7
+1149,7
@@
int ubi_eba_init_scan(struct ubi_device *ubi, struct ubi_scan_info *si)
if (ubi_devices_cnt == 0) {
ltree_slab = kmem_cache_create("ubi_ltree_slab",
sizeof(struct ltree_entry), 0,
- 0, <ree_entry_ctor
, NULL
);
+ 0, <ree_entry_ctor);
if (!ltree_slab)
return -ENOMEM;
}