From 432399da0f517b8748b7290af62d709654bd5c6d Mon Sep 17 00:00:00 2001
From: Brian Behlendorf <behlendorf1@llnl.gov>
Date: Thu, 18 Dec 2008 10:03:57 -0800
Subject: [PATCH] Add dropping written variable declaration

---
 module/zfs/txg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/zfs/txg.c b/module/zfs/txg.c
index f3b0fc92ef..c9aff5b9ff 100644
--- a/module/zfs/txg.c
+++ b/module/zfs/txg.c
@@ -301,7 +301,7 @@ txg_sync_thread(dsl_pool_t *dp)
 	start = delta = 0;
 	for (;;) {
 		uint64_t timer, timeout = zfs_txg_timeout * hz;
-		uint64_t txg;
+		uint64_t txg, written;
 
 		/*
 		 * We sync when we're scrubbing, there's someone waiting