mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-11 11:07:23 +00:00
don't get reservation ID as its not used here
This commit is contained in:
parent
69eeda859e
commit
85d138da01
@ -402,7 +402,7 @@ ipmi_sel_list_entries(struct ipmi_intf * intf)
|
|||||||
{
|
{
|
||||||
struct ipmi_rs * rsp;
|
struct ipmi_rs * rsp;
|
||||||
struct ipmi_rq req;
|
struct ipmi_rq req;
|
||||||
unsigned short reserve_id, next_id = 0;
|
unsigned short next_id = 0;
|
||||||
struct sel_event_record evt;
|
struct sel_event_record evt;
|
||||||
|
|
||||||
memset(&req, 0, sizeof(req));
|
memset(&req, 0, sizeof(req));
|
||||||
@ -438,10 +438,6 @@ ipmi_sel_list_entries(struct ipmi_intf * intf)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
reserve_id = rsp->data[0] | rsp->data[1] << 8;
|
|
||||||
if (verbose)
|
|
||||||
printf("SEL Reservation ID: %04x\n", reserve_id);
|
|
||||||
|
|
||||||
while (next_id != 0xffff) {
|
while (next_id != 0xffff) {
|
||||||
if (verbose > 1)
|
if (verbose > 1)
|
||||||
printf("SEL Next ID: %04x\n", next_id);
|
printf("SEL Next ID: %04x\n", next_id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user