mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
Fix build complaint from previous checkin
This commit is contained in:
parent
f778af723b
commit
b53aa98e18
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197078
@ -1034,7 +1034,7 @@ em_mq_start_locked(struct ifnet *ifp, struct mbuf *m)
|
||||
return (error);
|
||||
} else if (drbr_empty(ifp, adapter->br) &&
|
||||
(adapter->num_tx_desc_avail > EM_TX_OP_THRESHOLD)) {
|
||||
if (error = em_xmit(adapter, &m)) {
|
||||
if ((error = em_xmit(adapter, &m)) != 0) {
|
||||
if (m != NULL)
|
||||
error = drbr_enqueue(ifp, adapter->br, m);
|
||||
return (error);
|
||||
@ -1064,7 +1064,7 @@ em_mq_start_locked(struct ifnet *ifp, struct mbuf *m)
|
||||
next = drbr_dequeue(ifp, adapter->br);
|
||||
if (next == NULL)
|
||||
break;
|
||||
if (error = em_xmit(adapter, &next)) {
|
||||
if ((error = em_xmit(adapter, &next)) != 0) {
|
||||
if (next != NULL)
|
||||
error = drbr_enqueue(ifp, adapter->br, next);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user