svn commit: r194465 - user/kmacy/releng_7_2_fcs/sys/dev/cxgb
Kip Macy
kmacy at FreeBSD.org
Thu Jun 18 22:33:03 UTC 2009
Author: kmacy
Date: Thu Jun 18 22:33:03 2009
New Revision: 194465
URL: http://svn.freebsd.org/changeset/base/194465
Log:
don't return side effect of assignment
Modified:
user/kmacy/releng_7_2_fcs/sys/dev/cxgb/cxgb_sge.c
Modified: user/kmacy/releng_7_2_fcs/sys/dev/cxgb/cxgb_sge.c
==============================================================================
--- user/kmacy/releng_7_2_fcs/sys/dev/cxgb/cxgb_sge.c Thu Jun 18 22:17:25 2009 (r194464)
+++ user/kmacy/releng_7_2_fcs/sys/dev/cxgb/cxgb_sge.c Thu Jun 18 22:33:03 2009 (r194465)
@@ -1301,7 +1301,7 @@ write_wr_hdr_sgl(unsigned int ndesc, str
if (__predict_true(ndesc == 1)) {
set_wr_hdr(wrp, htonl(F_WR_SOP | F_WR_EOP | V_WR_DATATYPE(1) |
V_WR_SGLSFLT(flits)) | wr_hi,
- wrp->wrh_lo = htonl(V_WR_LEN(flits + sgl_flits) |
+ htonl(V_WR_LEN(flits + sgl_flits) |
V_WR_GEN(txqs->gen)) | wr_lo);
/* XXX gen? */
wr_gen2(txd, txqs->gen);
More information about the svn-src-user
mailing list