mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
drop unused static arrays
Originally marked unused, now dropped. Partially resolves ipmitool/ipmitool#13 Signed-off-by: Patrick Venture <venture@google.com>
This commit is contained in:
parent
3e0ecc5edc
commit
83fee27624
@ -41,20 +41,6 @@
|
||||
#define ASF_TYPE_PING 0x80
|
||||
#define ASF_TYPE_PONG 0x40
|
||||
|
||||
static const struct valstr __UNUSED__(asf_type_vals[]) = {
|
||||
{ 0x10, "Reset" },
|
||||
{ 0x11, "Power-up" },
|
||||
{ 0x12, "Unconditional Power-down" },
|
||||
{ 0x13, "Power Cycle" },
|
||||
{ 0x40, "Presence Pong" },
|
||||
{ 0x41, "Capabilities Response" },
|
||||
{ 0x42, "System State Response" },
|
||||
{ 0x80, "Presence Ping" },
|
||||
{ 0x81, "Capabilities Request" },
|
||||
{ 0x82, "System State Request" },
|
||||
{ 0x00, NULL }
|
||||
};
|
||||
|
||||
/* ASF message header */
|
||||
#ifdef HAVE_PRAGMA_PACK
|
||||
#pragma pack(1)
|
||||
|
@ -46,24 +46,11 @@
|
||||
#define RMCP_TYPE_NORM 0x00
|
||||
#define RMCP_TYPE_ACK 0x01
|
||||
|
||||
static const struct valstr __UNUSED__(rmcp_type_vals[]) = {
|
||||
{ RMCP_TYPE_NORM, "Normal RMCP" },
|
||||
{ RMCP_TYPE_ACK, "RMCP ACK" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
||||
#define RMCP_CLASS_MASK 0x1f
|
||||
#define RMCP_CLASS_ASF 0x06
|
||||
#define RMCP_CLASS_IPMI 0x07
|
||||
#define RMCP_CLASS_OEM 0x08
|
||||
|
||||
static const struct valstr __UNUSED__(rmcp_class_vals[]) = {
|
||||
{ RMCP_CLASS_ASF, "ASF" },
|
||||
{ RMCP_CLASS_IPMI, "IPMI" },
|
||||
{ RMCP_CLASS_OEM, "OEM" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
||||
#ifdef HAVE_PRAGMA_PACK
|
||||
#pragma pack(1)
|
||||
#endif
|
||||
|
@ -41,20 +41,6 @@
|
||||
#define ASF_TYPE_PING 0x80
|
||||
#define ASF_TYPE_PONG 0x40
|
||||
|
||||
static const struct valstr __UNUSED__(asf_type_vals[]) = {
|
||||
{ 0x10, "Reset" },
|
||||
{ 0x11, "Power-up" },
|
||||
{ 0x12, "Unconditional Power-down" },
|
||||
{ 0x13, "Power Cycle" },
|
||||
{ 0x40, "Presence Pong" },
|
||||
{ 0x41, "Capabilities Response" },
|
||||
{ 0x42, "System State Response" },
|
||||
{ 0x80, "Presence Ping" },
|
||||
{ 0x81, "Capabilities Request" },
|
||||
{ 0x82, "System State Request" },
|
||||
{ 0x00, NULL }
|
||||
};
|
||||
|
||||
/* ASF message header */
|
||||
#ifdef HAVE_PRAGMA_PACK
|
||||
#pragma pack(1)
|
||||
|
@ -45,24 +45,11 @@
|
||||
#define RMCP_TYPE_NORM 0x00
|
||||
#define RMCP_TYPE_ACK 0x01
|
||||
|
||||
static const struct valstr __UNUSED__(rmcp_type_vals[]) = {
|
||||
{ RMCP_TYPE_NORM, "Normal RMCP" },
|
||||
{ RMCP_TYPE_ACK, "RMCP ACK" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
||||
#define RMCP_CLASS_MASK 0x1f
|
||||
#define RMCP_CLASS_ASF 0x06
|
||||
#define RMCP_CLASS_IPMI 0x07
|
||||
#define RMCP_CLASS_OEM 0x08
|
||||
|
||||
static const struct valstr __UNUSED__(rmcp_class_vals[]) = {
|
||||
{ RMCP_CLASS_ASF, "ASF" },
|
||||
{ RMCP_CLASS_IPMI, "IPMI" },
|
||||
{ RMCP_CLASS_OEM, "OEM" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
||||
/* RMCP message header */
|
||||
#ifdef HAVE_PRAGMA_PACK
|
||||
#pragma pack(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user