mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-06-29 16:51:35 +00:00
[compiler-warnings-fixes] ipmi_sdr.c: remove unused function parameters
Several functions were passed a struct ipmi_intf* even though it was unused. This removes the unused parameters and changes calls and signatures. Partially resolves ipmitool/ipmitool#13 Signed-off-by: Vernon Mauery <vernon.mauery@intel.com>
This commit is contained in:
committed by
Alexander Amelkin
parent
6e2b688e24
commit
dc9b4ebfc9
@@ -532,7 +532,7 @@ ipmi_sensor_list(struct ipmi_intf *intf)
|
||||
/* rc = (r == 0) ? rc : r; */
|
||||
}
|
||||
|
||||
ipmi_sdr_end(intf, itr);
|
||||
ipmi_sdr_end(itr);
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user