diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2024-02-06 00:36:43 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-02-09 06:04:28 +0300 |
commit | e084a1c1dff6172887eb5a71e697745e3f5855be (patch) | |
tree | b4a8b8662c7c1d4e55dbf50d40784ff87d1ba89b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 36f75f74dc07c6c38c87bdb39be814cfa951b6dd (diff) | |
download | linux-e084a1c1dff6172887eb5a71e697745e3f5855be.tar.xz |
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 <colin.i.king@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240205213643.1850420-1-colin.i.king@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions