Date: Mon, 20 Apr 2015 16:48:21 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r281771 - head/sys/vm Message-ID: <201504201648.t3KGmLJo041873@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: alc Date: Mon Apr 20 16:48:21 2015 New Revision: 281771 URL: https://svnweb.freebsd.org/changeset/base/281771 Log: Eliminate an unused variable. MFC after: 1 week Modified: head/sys/vm/uma_core.c Modified: head/sys/vm/uma_core.c ============================================================================== --- head/sys/vm/uma_core.c Mon Apr 20 16:40:13 2015 (r281770) +++ head/sys/vm/uma_core.c Mon Apr 20 16:48:21 2015 (r281771) @@ -307,9 +307,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?201504201648.t3KGmLJo041873>