diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2025-07-08 16:18:05 +0100 |
---|---|---|
committer | Corey Minyard <corey@minyard.net> | 2025-07-08 12:15:44 -0500 |
commit | f6f9760320a93930e70ad6016afbabc475bcdd09 (patch) | |
tree | 435514e7cd889624854211e0c08722956728a533 /rust/helpers/platform.c | |
parent | 8ffcb7560b4a15faf821df95e3ab532b2b020f8c (diff) |
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 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions