Compiler indicated cleanup - Reported by Peter Schorn

This commit is contained in:
Mark Pizzolato 2014-06-10 13:15:47 -07:00
parent c15c0058f4
commit fc4fb737f1

View file

@ -269,7 +269,7 @@ struct eth_device {
uint32 transmit_packet_errors; /* Total Send Packet Errors */ uint32 transmit_packet_errors; /* Total Send Packet Errors */
uint32 receive_packet_errors; /* Total Read Packet Errors */ uint32 receive_packet_errors; /* Total Read Packet Errors */
int32 error_waiting_threads; /* Count of threads currently waiting after an error */ int32 error_waiting_threads; /* Count of threads currently waiting after an error */
BOOL error_needs_reset; /* Flag indicating to force reset */ ETH_BOOL error_needs_reset; /* Flag indicating to force reset */
#define ETH_ERROR_REOPEN_THRESHOLD 10 /* Attempt ReOpen after 20 send/receive errors */ #define ETH_ERROR_REOPEN_THRESHOLD 10 /* Attempt ReOpen after 20 send/receive errors */
#define ETH_ERROR_REOPEN_PAUSE 4 /* Seconds to pause between closing and reopening LAN */ #define ETH_ERROR_REOPEN_PAUSE 4 /* Seconds to pause between closing and reopening LAN */
uint32 error_reopen_count; /* Count of ReOpen Attempts */ uint32 error_reopen_count; /* Count of ReOpen Attempts */