aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-06-03 18:31:58 +0200
committerBrian Behlendorf <[email protected]>2022-05-02 15:42:58 -0700
commit18e926808761bebd0fde3e9e74fa84dc1e19d353 (patch)
tree015b65e45fc4210003356b70959bd5364c2962ae
parent4149e19dfcce952eb464275aa685f17c3ad95433 (diff)
module/zfs: dbuf: dbuf_read_impl: remove unused variable
Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #12187
-rw-r--r--module/zfs/dbuf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/module/zfs/dbuf.c b/module/zfs/dbuf.c
index d61724be8..9ded9587c 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));