mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
remove unneccessary null ptr check
Coverity ID: 173918
This commit is contained in:
parent
7cb3a39dc0
commit
4350e12f23
1 changed files with 1 additions and 2 deletions
|
|
@ -2361,8 +2361,7 @@ ural_raw_xmit(struct ieee80211_node *ni, struct mbuf *m,
|
|||
return 0;
|
||||
bad:
|
||||
ifp->if_oerrors++;
|
||||
if (ni != NULL)
|
||||
ieee80211_free_node(ni);
|
||||
ieee80211_free_node(ni);
|
||||
return EIO; /* XXX */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue