Date: Mon, 5 Oct 2015 05:24:17 +0000 (UTC) From: Kevin Lo <kevlo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r288689 - head/sys/dev/ath Message-ID: <201510050524.t955OHEH025876@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevlo Date: Mon Oct 5 05:24:16 2015 New Revision: 288689 URL: https://svnweb.freebsd.org/changeset/base/288689 Log: Remove the unnecessary cast. Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c ============================================================================== --- head/sys/dev/ath/if_ath.c Mon Oct 5 04:12:26 2015 (r288688) +++ head/sys/dev/ath/if_ath.c Mon Oct 5 05:24:16 2015 (r288689) @@ -1438,8 +1438,7 @@ ath_vap_create(struct ieee80211com *ic, 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510050524.t955OHEH025876>