diff options
author | Colin Ian King <[email protected]> | 2023-06-22 11:27:36 +0100 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-06-23 17:04:04 -0700 |
commit | 7982f975600d59ae3a3d98831f703e55243aba7c (patch) | |
tree | d4645c8e91ccaec4e489b23a74a8c7f138df0c0a /drivers/fpga/fpga-mgr.c | |
parent | a8992d8ad7775860594d3d981ef93fc423185fa4 (diff) |
ocfs2: remove redundant assignment to variable bit_off
Variable bit_off is being assigned a value that is never read, it is being
re-assigned a new value in the following while loop. Remove the
assignment. Cleans up clang scan build warning:
fs/ocfs2/localalloc.c:976:18: warning: Although the value stored to
'bit_off' is used in the enclosing expression, the value is never
actually read from 'bit_off' [deadcode.DeadStores]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Joseph Qi <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Junxiao Bi <[email protected]>
Cc: Changwei Ge <[email protected]>
Cc: Gang He <[email protected]>
Cc: Jun Piao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions