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

Commit c0664116 authored by Colin Ian King's avatar Colin Ian King Committed by Darrick J. Wong
Browse files

xfs: remove redundant assignment to variable bit



Variable bit is being assigned a value that is never read, hence
the assignment is redundant and can be removed. Cleans up clang
warning:

fs/xfs/libxfs/xfs_rtbitmap.c:675:3: warning: Value stored to
'bit' is never read

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Reviewed-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
parent 4eadcf9a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -672,7 +672,6 @@ xfs_rtmodify_range(
		/*
		 * Compute a mask of relevant bits.
		 */
		bit = 0;
		mask = ((xfs_rtword_t)1 << lastbit) - 1;
		/*
		 * Set/clear the active bits.