kill dead code

Noticed by:	Coverity Prevent analysis tool
This commit is contained in:
sam 2005-03-16 20:35:23 +00:00
parent c5fda0f2c7
commit bddcc80ceb

View File

@ -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;