From 18e926808761bebd0fde3e9e74fa84dc1e19d353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Thu, 3 Jun 2021 18:31:58 +0200 Subject: [PATCH] module/zfs: dbuf: dbuf_read_impl: remove unused variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Brian Behlendorf Reviewed-by: Ryan Moeller Signed-off-by: Ahelenia ZiemiaƄska Closes #12187 --- module/zfs/dbuf.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/module/zfs/dbuf.c b/module/zfs/dbuf.c index d61724be8a..9ded9587c1 100644 --- a/module/zfs/dbuf.c +++ b/module/zfs/dbuf.c @@ -1465,10 +1465,8 @@ dbuf_read_impl(dmu_buf_impl_t *db, zio_t *zio, uint32_t flags, zbookmark_phys_t zb; uint32_t aflags = ARC_FLAG_NOWAIT; int err, zio_flags; - boolean_t bonus_read; err = zio_flags = 0; - bonus_read = B_FALSE; DB_DNODE_ENTER(db); dn = DB_DNODE(db); ASSERT(!zfs_refcount_is_zero(&db->db_holds));