mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
kill dead code
Noticed by: Coverity Prevent analysis tool
This commit is contained in:
parent
c276d9545b
commit
0796482dd1
1 changed files with 1 additions and 2 deletions
|
|
@ -237,8 +237,7 @@ ieee80211_input(struct ieee80211com *ic, struct mbuf *m,
|
|||
* discovered member of the IBSS.
|
||||
*/
|
||||
ni = ieee80211_fakeup_adhoc_node(&ic->ic_sta,
|
||||
type == IEEE80211_FC0_TYPE_CTL ?
|
||||
wh->i_addr1 : wh->i_addr2);
|
||||
wh->i_addr2);
|
||||
if (ni == NULL) {
|
||||
/* NB: stat kept for alloc failure */
|
||||
goto err;
|
||||
|
|
|
|||
Loading…
Reference in a new issue