Compilation fix - when INVARIANTS are turned off.
This commit is contained in:
parent
7472161efa
commit
bfd7cd0131
@ -1953,7 +1953,10 @@ send_fmn_msg_tx(struct nlge_softc *sc, struct msgrng_msg *msg,
|
||||
uint32_t n_entries)
|
||||
{
|
||||
uint32_t msgrng_flags;
|
||||
int i = 0, ret;
|
||||
int ret;
|
||||
#ifdef INVARIANTS
|
||||
int i = 0;
|
||||
#endif
|
||||
|
||||
do {
|
||||
msgrng_flags = msgrng_access_enable();
|
||||
|
@ -713,8 +713,11 @@ xlr_mac_send_fr(struct driver_data *priv,
|
||||
{
|
||||
struct msgrng_msg msg;
|
||||
int stid = priv->rfrbucket;
|
||||
int i = 0, code, ret;
|
||||
int code, ret;
|
||||
uint32_t msgrng_flags;
|
||||
#ifdef INVARIANTS
|
||||
int i = 0;
|
||||
#endif
|
||||
|
||||
mac_make_desc_rfr(&msg, addr);
|
||||
|
||||
|
@ -306,7 +306,9 @@ message_send(unsigned int size, unsigned int code,
|
||||
{
|
||||
unsigned int dest = 0;
|
||||
unsigned long long status = 0;
|
||||
#ifdef INVARIANTS
|
||||
int i = 0;
|
||||
#endif
|
||||
|
||||
msgrng_load_tx_msg0(msg->msg0);
|
||||
msgrng_load_tx_msg1(msg->msg1);
|
||||
|
Loading…
Reference in New Issue
Block a user