diff options
| author | Navdeep Parhar <np@FreeBSD.org> | 2022-01-05 20:23:06 +0000 |
|---|---|---|
| committer | Navdeep Parhar <np@FreeBSD.org> | 2022-01-10 20:15:12 +0000 |
| commit | 39d5cbdc1b783e2f199349a7a20b6d7c58e180a0 (patch) | |
| tree | 59b2f4ef02f1cc63c8c22bde297bedd16d065d36 /sys/dev/cxgbe/common | |
| parent | 6792568fe2687db960cb02cfc744b2e87947d38b (diff) | |
Diffstat (limited to 'sys/dev/cxgbe/common')
| -rw-r--r-- | sys/dev/cxgbe/common/t4_hw.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/cxgbe/common/t4_hw.c b/sys/dev/cxgbe/common/t4_hw.c index c60594596959..b99d67bca49b 100644 --- a/sys/dev/cxgbe/common/t4_hw.c +++ b/sys/dev/cxgbe/common/t4_hw.c @@ -6648,7 +6648,6 @@ int t4_set_trace_filter(struct adapter *adap, const struct trace_params *tp, { int i, ofst = idx * 4; u32 data_reg, mask_reg, cfg; - u32 multitrc = F_TRCMULTIFILTER; u32 en = is_t4(adap) ? F_TFEN : F_T5_TFEN; if (idx < 0 || idx >= NTRACE) @@ -6683,7 +6682,6 @@ int t4_set_trace_filter(struct adapter *adap, const struct trace_params *tp, * maximum packet capture size of 9600 bytes is recommended. * Also in this mode, only trace0 can be enabled and running. */ - multitrc = 0; if (tp->snap_len > 9600 || idx) return -EINVAL; } @@ -9076,7 +9074,6 @@ int t4_handle_fw_rpl(struct adapter *adap, const __be64 *rpl) int i; int chan = G_FW_PORT_CMD_PORTID(be32_to_cpu(p->op_to_portid)); struct port_info *pi = NULL; - struct link_config *lc; for_each_port(adap, i) { pi = adap2pinfo(adap, i); @@ -9084,7 +9081,6 @@ int t4_handle_fw_rpl(struct adapter *adap, const __be64 *rpl) break; } - lc = &pi->link_cfg; PORT_LOCK(pi); handle_port_info(pi, p, action, &mod_changed, &link_changed); PORT_UNLOCK(pi); |
