Unverified Commit 808bc0a8 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Konstantin Komarov
Browse files

fs/ntfs3: Remove a useless shadowing variable



There is already a 'u8 mask' defined at the top of the function.
There is no need to define a new one here.

Remove the useless and shadowing new 'mask' variable.

Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: default avatarKari Argillander <kari.argillander@gmail.com>
Signed-off-by: default avatarKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
parent d2846bf3
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -119,8 +119,7 @@ bool are_bits_set(const ulong *lmap, size_t bit, size_t nbits)

	pos = nbits & 7;
	if (pos) {
		u8 mask = fill_mask[pos];

		mask = fill_mask[pos];
		if ((*map & mask) != mask)
			return false;
	}