projects
/
linux-2.6-block.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().
[linux-2.6-block.git]
/
drivers
/
usb
/
mon
/
mon_text.c
diff --git
a/drivers/usb/mon/mon_text.c
b/drivers/usb/mon/mon_text.c
index 982b773d71e69f186210322e98c434ba78425d21..8f27a9e1c36ba7c0b38a5ca4b9acb5ced9ab7da3 100644
(file)
--- a/
drivers/usb/mon/mon_text.c
+++ b/
drivers/usb/mon/mon_text.c
@@
-340,7
+340,7
@@
static int mon_text_open(struct inode *inode, struct file *file)
snprintf(rp->slab_name, SLAB_NAME_SZ, "mon_text_%p", rp);
rp->e_slab = kmem_cache_create(rp->slab_name,
sizeof(struct mon_event_text), sizeof(long), 0,
- mon_text_ctor
, NULL
);
+ mon_text_ctor);
if (rp->e_slab == NULL) {
rc = -ENOMEM;
goto err_slab;