]> git.proxmox.com Git - mirror_zfs.git/blobdiff - module/zfs/txg.c
Undo c89 workarounds to match with upstream
[mirror_zfs.git] / module / zfs / txg.c
index b267441151415c6c3c86d944569b617b539b2c70..078839a3203bc74ec124f24dee994ca6c2f860ef 100644 (file)
@@ -785,9 +785,7 @@ txg_list_empty(txg_list_t *tl, uint64_t txg)
 boolean_t
 txg_all_lists_empty(txg_list_t *tl)
 {
-       int i;
-
-       for (i = 0; i < TXG_SIZE; i++) {
+       for (int i = 0; i < TXG_SIZE; i++) {
                if (!txg_list_empty(tl, i)) {
                        return (B_FALSE);
                }