Whamcloud - gitweb
LU-10556 build: add require libyaml and zlib
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_iam_lfix.c
index cab8575..e0642bd 100644 (file)
@@ -485,13 +485,12 @@ static void iam_lfix_split(struct iam_leaf *l, struct buffer_head **bh,
                  * insertion point moves into new leaf.
                  */
                 int shift;
-                int result;
 
                 shift = iam_lfix_diff(l, l->il_at, start);
                 *bh = l->il_bh;
                 l->il_bh = new_leaf;
                 l->il_curidx = new_blknr;
-                result = iam_lfix_init(l);
+                iam_lfix_init(l);
                 /*
                  * init cannot fail, as node was just initialized.
                  */
@@ -755,11 +754,11 @@ struct lfix_leaf {
         } ll_entry[LFIX_LEAF_RECNO];
 };
 
-#define STORE_UNALIGNED(val, dst)                       \
-({                                                      \
-        typeof(val) __val = (val);                      \
-        CLASSERT(sizeof(val) == sizeof(*(dst)));        \
-        memcpy(dst, &__val, sizeof(*(dst)));            \
+#define STORE_UNALIGNED(val, dst)                      \
+({                                                     \
+       typeof(val) __val = (val);                      \
+       CLASSERT(sizeof(val) == sizeof(*(dst)));        \
+       memcpy(dst, &__val, sizeof(*(dst)));            \
 })
 
 static void lfix_root(void *buf,