diff options
author | 2025-07-08 16:18:05 +0100 | |
---|---|---|
committer | 2025-07-08 12:15:44 -0500 | |
commit | f6f9760320a93930e70ad6016afbabc475bcdd09 (patch) | |
tree | 435514e7cd889624854211e0c08722956728a533 /tools/perf/scripts/python | |
parent | ipmi: Fix strcpy source and destination the same (diff) | |
download | wireguard-linux-f6f9760320a93930e70ad6016afbabc475bcdd09.tar.xz wireguard-linux-f6f9760320a93930e70ad6016afbabc475bcdd09.zip |
char: ipmi: remove redundant variable 'type' and check
The variable 'type' is assigned the value SI_INVALID which is zero
and later checks of 'type' is non-zero (which is always false). The
variable is not referenced anywhere else, so it is redundant and
so is the check, so remove these.
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Message-ID: <20250708151805.1893858-1-colin.i.king@gmail.com>
Signed-off-by: Corey Minyard <corey@minyard.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions