Commit f6f97603 authored by Colin Ian King's avatar Colin Ian King Committed by Corey Minyard
Browse files

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: default avatarColin Ian King <colin.i.king@gmail.com>
Message-ID: <20250708151805.1893858-1-colin.i.king@gmail.com>
Signed-off-by: default avatarCorey Minyard <corey@minyard.net>
parent 8ffcb756
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment