Commit f6f9760
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 <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Corey Minyard <[email protected]>1 parent 8ffcb75 commit f6f9760
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2107 | 2107 | | |
2108 | 2108 | | |
2109 | 2109 | | |
2110 | | - | |
2111 | 2110 | | |
2112 | 2111 | | |
2113 | 2112 | | |
| |||
2189 | 2188 | | |
2190 | 2189 | | |
2191 | 2190 | | |
2192 | | - | |
2193 | | - | |
2194 | | - | |
2195 | 2191 | | |
2196 | 2192 | | |
2197 | 2193 | | |
| |||
0 commit comments