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,
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to