diff options
| author | Everest K.C. <everestkc@everestkc.com.np> | 2024-10-16 01:55:43 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-10-16 10:04:49 +0200 |
| commit | fef10146def91e02126aeebaa9ff87871adbde1d (patch) | |
| tree | e6e16fe75775c55d490e38758eff58257fa436ae /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | staging: olpc_dcon: Remove driver marked as broken since 2022 (diff) | |
| download | linux-fef10146def91e02126aeebaa9ff87871adbde1d.tar.gz linux-fef10146def91e02126aeebaa9ff87871adbde1d.zip | |
staging: gpib: Remove unused value
The variable `complement_count` is assigned a value which is again
overwritten in the next statement.
Fix this by removing the first value assigning statement
This issue was reported by Coverity Scan.
Report:
CID 1600790: (#1 of 1): Unused value (UNUSED_VALUE)
assigned_value: Assigning value from length to complement_count here,
but that stored value is overwritten before it can be used.
Signed-off-by: Everest K.C. <everestkc@everestkc.com.np>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20241016075544.4125-1-everestkc@everestkc.com.np
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
