mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Remove the unnecessary cast.
This commit is contained in:
parent
a0abe9cd7e
commit
8aabf601d1
1 changed files with 1 additions and 2 deletions
|
|
@ -1438,8 +1438,7 @@ ath_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ], int unit,
|
|||
int needbeacon, error;
|
||||
enum ieee80211_opmode ic_opmode;
|
||||
|
||||
avp = (struct ath_vap *) malloc(sizeof(struct ath_vap),
|
||||
M_80211_VAP, M_WAITOK | M_ZERO);
|
||||
avp = malloc(sizeof(struct ath_vap), M_80211_VAP, M_WAITOK | M_ZERO);
|
||||
needbeacon = 0;
|
||||
IEEE80211_ADDR_COPY(mac, mac0);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue