Date: Fri, 8 Apr 2022 00:03:37 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 10e3e53dd4fc - main - qlxgbe: Use select_value_count variable. Message-ID: <202204080003.23803bai086587@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=10e3e53dd4fc362a1e9fe00d529b84072ba7d8f1 commit 10e3e53dd4fc362a1e9fe00d529b84072ba7d8f1 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-08 00:01:28 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-08 00:01:28 +0000 qlxgbe: Use select_value_count variable. --- sys/dev/qlxgbe/ql_hw.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/dev/qlxgbe/ql_hw.c b/sys/dev/qlxgbe/ql_hw.c index 9580a99c47b2..e7b91e4666e7 100644 --- a/sys/dev/qlxgbe/ql_hw.c +++ b/sys/dev/qlxgbe/ql_hw.c @@ -5176,8 +5176,7 @@ ql_rdmux2(qla_host_t *ha, read_addr = muxEntry->read_addr; - for (loop_cnt = 0; loop_cnt < muxEntry->select_value_count; - loop_cnt++) { + for (loop_cnt = 0; loop_cnt < select_value_count; loop_cnt++) { uint32_t temp_sel_val; ret = ql_rdwr_indreg32(ha, select_addr_1, &select_value_1, 0);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204080003.23803bai086587>