mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-06-28 08:11:36 +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
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user