Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2017 06:40:13 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r320440 - stable/10/sys/vm
Message-ID:  <201706280640.v5S6eDRk050883@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: alc
Date: Wed Jun 28 06:40:13 2017
New Revision: 320440
URL: https://svnweb.freebsd.org/changeset/base/320440

Log:
  MFC r281771
    Eliminate an unused variable.

Modified:
  stable/10/sys/vm/uma_core.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/vm/uma_core.c
==============================================================================
--- stable/10/sys/vm/uma_core.c	Wed Jun 28 06:13:58 2017	(r320439)
+++ stable/10/sys/vm/uma_core.c	Wed Jun 28 06:40:13 2017	(r320440)
@@ -308,9 +308,8 @@ bucket_init(void)
 {
 	struct uma_bucket_zone *ubz;
 	int size;
-	int i;
 
-	for (i = 0, ubz = &bucket_zones[0]; ubz->ubz_entries != 0; ubz++) {
+	for (ubz = &bucket_zones[0]; ubz->ubz_entries != 0; ubz++) {
 		size = roundup(sizeof(struct uma_bucket), sizeof(void *));
 		size += sizeof(void *) * ubz->ubz_entries;
 		ubz->ubz_zone = uma_zcreate(ubz->ubz_name, size,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706280640.v5S6eDRk050883>