]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - mm/slab.c
mm/slab: Sharing s_next and s_stop between slab and slub
[karo-tx-linux.git] / mm / slab.c
index c9b4da9a1fe59376db09c9e572116aef97753101..4a907a0726699f1e1987afccdeaee6362b6d000f 100644 (file)
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -4438,16 +4438,6 @@ static int leaks_show(struct seq_file *m, void *p)
        return 0;
 }
 
-static void *s_next(struct seq_file *m, void *p, loff_t *pos)
-{
-       return seq_list_next(p, &slab_caches, pos);
-}
-
-static void s_stop(struct seq_file *m, void *p)
-{
-       mutex_unlock(&slab_mutex);
-}
-
 static const struct seq_operations slabstats_op = {
        .start = leaks_start,
        .next = s_next,