diff options
| author | Colin Ian King <[email protected]> | 2023-06-22 10:27:36 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-06-24 00:04:04 +0000 |
| commit | 7982f975600d59ae3a3d98831f703e55243aba7c (patch) | |
| tree | d4645c8e91ccaec4e489b23a74a8c7f138df0c0a /lib/devmem_is_allowed.c | |
| parent | watchdog/hardlockup: fix typo in config HARDLOCKUP_DETECTOR_PREFER_BUDDY (diff) | |
| download | kernel-7982f975600d59ae3a3d98831f703e55243aba7c.tar.gz kernel-7982f975600d59ae3a3d98831f703e55243aba7c.zip | |
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 'lib/devmem_is_allowed.c')
0 files changed, 0 insertions, 0 deletions
