[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

@@ -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;
}