svn commit: r320440 - stable/10/sys/vm

Alan Cox alc at FreeBSD.org
Wed Jun 28 06:40:14 UTC 2017


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,


More information about the svn-src-stable mailing list