Date: Mon, 28 Aug 2017 04:06:41 +0000 (UTC) From: Navdeep Parhar <np@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r322962 - head/sys/dev/cxgbe/common Message-ID: <201708280406.v7S46fgO025316@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: np Date: Mon Aug 28 04:06:40 2017 New Revision: 322962 URL: https://svnweb.freebsd.org/changeset/base/322962 Log: cxgbe(4): Remove write only variable from t4_port_init. MFC after: 3 days Modified: head/sys/dev/cxgbe/common/t4_hw.c Modified: head/sys/dev/cxgbe/common/t4_hw.c ============================================================================== --- head/sys/dev/cxgbe/common/t4_hw.c Mon Aug 28 03:25:41 2017 (r322961) +++ head/sys/dev/cxgbe/common/t4_hw.c Mon Aug 28 04:06:40 2017 (r322962) @@ -8354,12 +8354,9 @@ int t4_port_init(struct adapter *adap, int mbox, int p { u8 addr[6]; int ret, i, j; - struct fw_port_cmd c; u16 rss_size; struct port_info *p = adap2pinfo(adap, port_id); u32 param, val; - - memset(&c, 0, sizeof(c)); for (i = 0, j = -1; i <= p->port_id; i++) { do {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708280406.v7S46fgO025316>