get rid of unused variables (tfs, value_string)
svn path=/trunk/; revision=21430
This commit is contained in:
parent
84e1cfee7f
commit
c3530274e0
|
@ -227,29 +227,6 @@ static const value_string njack_dhcpcontrol[] = {
|
||||||
};
|
};
|
||||||
/* End General settings TAB */
|
/* End General settings TAB */
|
||||||
|
|
||||||
/* Port settings TAB */
|
|
||||||
static const true_false_string tfs_port_state = {
|
|
||||||
"Disable",
|
|
||||||
"Enable"
|
|
||||||
};
|
|
||||||
|
|
||||||
static const true_false_string tfs_port_autoneg = {
|
|
||||||
"Manual",
|
|
||||||
"Auto negotiation"
|
|
||||||
};
|
|
||||||
|
|
||||||
static const true_false_string tfs_port_speed = {
|
|
||||||
"10Mbps",
|
|
||||||
"100Mbps"
|
|
||||||
};
|
|
||||||
|
|
||||||
static const true_false_string tfs_port_duplex = {
|
|
||||||
"halfduplex",
|
|
||||||
"duplex"
|
|
||||||
};
|
|
||||||
|
|
||||||
/* End Port settings TAB */
|
|
||||||
|
|
||||||
/* Hardware Settings TAB */
|
/* Hardware Settings TAB */
|
||||||
static const value_string njack_scheduling[] = {
|
static const value_string njack_scheduling[] = {
|
||||||
{ 0, "Weighted fair" },
|
{ 0, "Weighted fair" },
|
||||||
|
@ -303,41 +280,6 @@ static const value_string njack_snmpwrite[] = {
|
||||||
|
|
||||||
{ 0, NULL }
|
{ 0, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
static const value_string njack_snmptrap[] = {
|
|
||||||
{ 0, "Disable" },
|
|
||||||
{ 1, "Enable" },
|
|
||||||
|
|
||||||
{ 0, NULL }
|
|
||||||
};
|
|
||||||
|
|
||||||
static const value_string njack_coldstarttrap[] = {
|
|
||||||
{ 0, "Disable" },
|
|
||||||
{ 1, "Enable" },
|
|
||||||
|
|
||||||
{ 0, NULL }
|
|
||||||
};
|
|
||||||
|
|
||||||
static const value_string njack_linkdowntrap[] = {
|
|
||||||
{ 0, "Disable" },
|
|
||||||
{ 1, "Enable" },
|
|
||||||
|
|
||||||
{ 0, NULL }
|
|
||||||
};
|
|
||||||
|
|
||||||
static const value_string njack_linkuptrap[] = {
|
|
||||||
{ 0, "Disable" },
|
|
||||||
{ 1, "Enable" },
|
|
||||||
|
|
||||||
{ 0, NULL }
|
|
||||||
};
|
|
||||||
|
|
||||||
static const value_string njack_authfailtrap[] = {
|
|
||||||
{ 0, "Disable" },
|
|
||||||
{ 1, "Enable" },
|
|
||||||
|
|
||||||
{ 0, NULL }
|
|
||||||
};
|
|
||||||
/* End SNMP TAB */
|
/* End SNMP TAB */
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
Loading…
Reference in New Issue