summaryrefslogtreecommitdiff
path: root/lib/ipmi_pef.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-05-08 22:59:02 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-05-08 22:59:02 +0200
commit342ebce798fe98ede64939a49bbc3770d8214649 (patch)
treeb55927f05ec0d294ababcb2b4519b7e1a628d5f8 /lib/ipmi_pef.c
parent97d6a2e491c6ed08473beb2c4bac47c5cbc1201a (diff)
Imported Upstream version 1.8.17upstream/1.8.17
Diffstat (limited to 'lib/ipmi_pef.c')
-rw-r--r--lib/ipmi_pef.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/ipmi_pef.c b/lib/ipmi_pef.c
index 1beebf0..22f29e4 100644
--- a/lib/ipmi_pef.c
+++ b/lib/ipmi_pef.c
@@ -267,7 +267,7 @@ ipmi_pef_print_lan_dest(struct ipmi_intf * intf, uint8_t ch, uint8_t dest)
struct pef_lan_cfgparm_dest_type * ptype;
struct pef_lan_cfgparm_dest_info * pinfo;
char buf[32];
- uint8_t tbl_size, dsttype, timeout, retries;
+ uint8_t dsttype, timeout, retries;
memset(&lsel, 0, sizeof(lsel));
lsel.id = PEF_LAN_CFGPARM_ID_DEST_COUNT;
@@ -283,9 +283,6 @@ ipmi_pef_print_lan_dest(struct ipmi_intf * intf, uint8_t ch, uint8_t dest)
"Alert destination count");
return;
}
- tbl_size = (rsp->data[1] & PEF_LAN_DEST_TABLE_SIZE_MASK);
- //if (tbl_size == 0 || dest == 0) /* LAN alerting not supported */
- // return;
lsel.id = PEF_LAN_CFGPARM_ID_DESTTYPE;
lsel.set = dest;