mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
Remove dead(duplicate) code from ipmi_sol_main() - CID#1148996
This commit is contained in:
parent
a6957f875c
commit
9fc4a39fda
@ -1942,10 +1942,6 @@ ipmi_sol_main(struct ipmi_intf * intf, int argc, char ** argv)
|
||||
print_sol_usage();
|
||||
return -1;
|
||||
}
|
||||
if (argc == 1 || argc > 4) {
|
||||
print_sol_usage();
|
||||
return -1;
|
||||
}
|
||||
if (argc >= 3) {
|
||||
if (is_ipmi_channel_num(argv[2], &channel) != 0) {
|
||||
return (-1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user