Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206077
b: refs/heads/master
c: e438444
h: refs/heads/master
i:
  206075: 92eb1cb
v: v3
  • Loading branch information
Pekka Enberg committed Aug 3, 2010
1 parent 2a09300 commit 8a44dcc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: af537b0a6c650ab6ff7104d8163e96866b31c835
refs/heads/master: e438444de82f354563d46ee5d991b5916dd19b01
7 changes: 0 additions & 7 deletions trunk/mm/slub.c
Original file line number Diff line number Diff line change
Expand Up @@ -4498,13 +4498,6 @@ static int sysfs_slab_add(struct kmem_cache *s)

static void sysfs_slab_remove(struct kmem_cache *s)
{
if (slab_state < SYSFS)
/*
* Sysfs has not been setup yet so no need to remove the
* cache from sysfs.
*/
return;

kobject_uevent(&s->kobj, KOBJ_REMOVE);
kobject_del(&s->kobj);
kobject_put(&s->kobj);
Expand Down

0 comments on commit 8a44dcc

Please sign in to comment.