From f70f3e2fbc9d7071563b113b1a4a688a0ab4cb12 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 d48dc7943a..764383b2d0 100644 --- a/module/zfs/dbuf.c +++ b/module/zfs/dbuf.c @@ -1442,10 +1442,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));