ext4: remove unused assignment
authorAlan Cox <alan@linux.intel.com>
Thu, 8 Nov 2012 17:19:58 +0000 (12:19 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 8 Nov 2012 17:19:58 +0000 (12:19 -0500)
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/mballoc.c

index 27f421c8043df36060bb7ede9d66eb2603f3b1a5..442caae80a9847d90fd18d865feac60c8c6ffe6f 100644 (file)
@@ -1373,7 +1373,7 @@ static int mb_find_extent(struct ext4_buddy *e4b, int block,
        ex->fe_start += next;
 
        while (needed > ex->fe_len &&
-              (buddy = mb_find_buddy(e4b, order, &max))) {
+              mb_find_buddy(e4b, order, &max)) {
 
                if (block + 1 >= max)
                        break;