aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2019-09-05 16:22:27 +0100
committerGreg Kroah-Hartman <[email protected]>2019-09-06 18:20:33 +0200
commitb33f56a1e40588214320926293585f088fb390b0 (patch)
tree33ffeb3e16d06be687e2c1ac2acea2db868a85ff /lib/memory-notifier-error-inject.c
parentf0c7686dd7461cdd49097faba397379a16adc437 (diff)
staging: rtl8723bs: hal: remove redundant variable n
The variable n is being assigned a value that is never read inside an if statement block, the assignment is redundant and can be removed. With this removed, n is only being used for a constant loop bounds check, so replace n with that value instead and remove n completely. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions