[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:
Vernon Mauery
2018-10-31 13:38:03 -07:00
committed by Alexander Amelkin
parent 6e2b688e24
commit dc9b4ebfc9
8 changed files with 36 additions and 85 deletions

View File

@@ -314,7 +314,7 @@ ipmi_intf_session_cleanup(struct ipmi_intf *intf)
void
ipmi_cleanup(struct ipmi_intf * intf)
{
ipmi_sdr_list_empty(intf);
ipmi_sdr_list_empty();
ipmi_intf_session_set_hostname(intf, NULL);
}