]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/ocfs2/reservations.c
ocfs2: update gfp/slab.h includes
[karo-tx-linux.git] / fs / ocfs2 / reservations.c
index cb813ef98846c6fb6962c623ae25da487779811a..d8b6e4259b80022cb824326f4ce2c665089b5818 100644 (file)
@@ -26,7 +26,6 @@
 
 #include <linux/fs.h>
 #include <linux/types.h>
-#include <linux/slab.h>
 #include <linux/highmem.h>
 #include <linux/bitops.h>
 #include <linux/list.h>
@@ -371,7 +370,6 @@ ocfs2_find_resv_lhs(struct ocfs2_reservation_map *resmap, unsigned int goal)
        struct ocfs2_alloc_reservation *resv = NULL;
        struct ocfs2_alloc_reservation *prev_resv = NULL;
        struct rb_node *node = resmap->m_reservations.rb_node;
-       struct rb_node *prev = NULL;
 
        assert_spin_locked(&resv_lock);
 
@@ -392,7 +390,6 @@ ocfs2_find_resv_lhs(struct ocfs2_reservation_map *resmap, unsigned int goal)
                }
 
                prev_resv = resv;
-               prev = node;
                node = rb_next(node);
        }