Fix i386 LINT build issues, and remove unused variable.

This commit is contained in:
Jack F Vogel 2015-03-18 20:11:59 +00:00
parent 1aa7c60ccd
commit bff38d637c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=280228
2 changed files with 4 additions and 5 deletions

View File

@ -1979,13 +1979,13 @@ ixv_add_stats_sysctls(struct adapter *adapter)
struct sysctl_oid_list *stat_list, *queue_list;
/* Driver Statistics */
SYSCTL_ADD_UQUAD(ctx, child, OID_AUTO, "dropped",
SYSCTL_ADD_ULONG(ctx, child, OID_AUTO, "dropped",
CTLFLAG_RD, &adapter->dropped_pkts,
"Driver dropped packets");
SYSCTL_ADD_UQUAD(ctx, child, OID_AUTO, "mbuf_defrag_failed",
SYSCTL_ADD_ULONG(ctx, child, OID_AUTO, "mbuf_defrag_failed",
CTLFLAG_RD, &adapter->mbuf_defrag_failed,
"m_defrag() failed");
SYSCTL_ADD_UQUAD(ctx, child, OID_AUTO, "watchdog_events",
SYSCTL_ADD_ULONG(ctx, child, OID_AUTO, "watchdog_events",
CTLFLAG_RD, &adapter->watchdog_events,
"Watchdog timeouts");

View File

@ -323,9 +323,8 @@ struct tx_ring {
u32 bytes; /* used for AIM */
u32 packets;
/* Soft Stats */
unsigned long tx_bytes;
u64 tx_bytes;
unsigned long tso_tx;
unsigned long no_tx_map_avail;
unsigned long no_tx_dma_setup;
u64 no_desc_avail;
u64 total_packets;