From owner-svn-src-all@freebsd.org Mon Oct 5 05:24:17 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E1B9A1057B; Mon, 5 Oct 2015 05:24:17 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2B5E81825; Mon, 5 Oct 2015 05:24:17 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t955OHAs025877; Mon, 5 Oct 2015 05:24:17 GMT (envelope-from kevlo@FreeBSD.org) Received: (from kevlo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t955OHEH025876; Mon, 5 Oct 2015 05:24:17 GMT (envelope-from kevlo@FreeBSD.org) Message-Id: <201510050524.t955OHEH025876@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kevlo set sender to kevlo@FreeBSD.org using -f From: Kevin Lo Date: Mon, 5 Oct 2015 05:24:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r288689 - head/sys/dev/ath X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2015 05:24:17 -0000 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);