aboutsummaryrefslogtreecommitdiff
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2024-02-05 21:36:43 +0000
committerJakub Kicinski <[email protected]>2024-02-08 19:04:28 -0800
commite084a1c1dff6172887eb5a71e697745e3f5855be (patch)
treeb4a8b8662c7c1d4e55dbf50d40784ff87d1ba89b /lib/timerqueue.c
parent36f75f74dc07c6c38c87bdb39be814cfa951b6dd (diff)
xirc2ps_cs: remove redundant assignment to variable okay, clean up freespace
The variable okay is being initialized with a value that is never read, it is being re-assigned later on. The initialization is redundant and can be removed. Also clean up assignment to variable freespace using an assignment and mask operation. Cleans up clang scan build warning: drivers/net/ethernet/xircom/xirc2ps_cs.c:1244:5: warning: Value stored to 'okay' is never read [deadcode.DeadStores] Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions