mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
kill dead code
Noticed by: Coverity Prevent analysis tool
This commit is contained in:
parent
c276d9545b
commit
0796482dd1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143713
@ -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 New Issue
Block a user