Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72208ee0 authored by Dan Carpenter's avatar Dan Carpenter Committed by Dave Chinner
Browse files

xfs: small cleanup in xfs_lowbit64()



There are two checkpatch.pl complaints here because of the bad
indenting and because of the assignment inside the condition.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarEric Sandeen <sandeen@redhat.com>
Signed-off-by: default avatarDave Chinner <david@fromorbit.com>
parent 36de9556
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -66,9 +66,12 @@ static inline int xfs_lowbit64(__uint64_t v)
		n = ffs(w);
	} else {	/* upper bits */
		w = (__uint32_t)(v >> 32);
		if (w && (n = ffs(w)))
		if (w) {
			n = ffs(w);
			if (n)
				n += 32;
		}
	}
	return n - 1;
}