From owner-svn-src-user@FreeBSD.ORG Wed Aug 31 02:47:19 2011 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27D711065676; Wed, 31 Aug 2011 02:47:19 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1701C8FC15; Wed, 31 Aug 2011 02:47:19 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p7V2lICg077419; Wed, 31 Aug 2011 02:47:18 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p7V2lIXI077417; Wed, 31 Aug 2011 02:47:18 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201108310247.p7V2lIXI077417@svn.freebsd.org> From: Adrian Chadd Date: Wed, 31 Aug 2011 02:47:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r225277 - user/adrian/if_ath_tx/sys/dev/ath X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2011 02:47:19 -0000 Author: adrian Date: Wed Aug 31 02:47:18 2011 New Revision: 225277 URL: http://svn.freebsd.org/changeset/base/225277 Log: Remove this ; bf_state is now blanked for us in _ath_getbuf_locked(). Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c ============================================================================== --- user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c Wed Aug 31 01:18:23 2011 (r225276) +++ user/adrian/if_ath_tx/sys/dev/ath/if_ath_tx.c Wed Aug 31 02:47:18 2011 (r225277) @@ -2003,21 +2003,6 @@ ath_tx_swq(struct ath_softc *sc, struct bf->bf_state.bfs_txq = txq; bf->bf_state.bfs_pri = pri; - /* - * blank out fields which will be overridden if needed - * Don't touch bfs_dobaw - that's already been set by - * ath_tx_start(). - */ - bf->bf_state.bfs_aggr = 0; - bf->bf_state.bfs_aggrburst = 0; - bf->bf_next = NULL; - bf->bf_state.bfs_retries = 0; - bf->bf_state.bfs_isretried = 0; - bf->bf_state.bfs_ndelim = 0; - bf->bf_state.bfs_nframes = 0; - bf->bf_state.bfs_al = 0; - bf->bf_state.bfs_addedbaw = 0; - /* Queue frame to the tail of the software queue */ ATH_TXQ_LOCK(txq); ATH_TXQ_INSERT_TAIL(atid, bf, bf_list);