git: 6d0a82ffc76d - main - krping: Remove unused variable.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Apr 2022 00:03:40 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=6d0a82ffc76d597f2a12c769c4d9f70df3d3e772 commit 6d0a82ffc76d597f2a12c769c4d9f70df3d3e772 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 krping: Remove unused variable. --- sys/contrib/rdma/krping/krping.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/contrib/rdma/krping/krping.c b/sys/contrib/rdma/krping/krping.c index da0a03af42cd..182e5f111028 100644 --- a/sys/contrib/rdma/krping/krping.c +++ b/sys/contrib/rdma/krping/krping.c @@ -1135,7 +1135,7 @@ done: static void bw_test(struct krping_cb *cb) { - int ccnt, scnt, rcnt; + int ccnt, scnt; int iters=cb->count; struct timeval start_tv, stop_tv; cycles_t *post_cycles_start = NULL; @@ -1149,7 +1149,6 @@ static void bw_test(struct krping_cb *cb) ccnt = 0; scnt = 0; - rcnt = 0; post_cycles_start = kmalloc(cycle_iters * sizeof(cycles_t), GFP_KERNEL); if (!post_cycles_start) {