summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bhyve/block_if.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bhyve/block_if.c')
-rw-r--r--usr.sbin/bhyve/block_if.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/bhyve/block_if.c b/usr.sbin/bhyve/block_if.c
index ef8e11e..b6cb409 100644
--- a/usr.sbin/bhyve/block_if.c
+++ b/usr.sbin/bhyve/block_if.c
@@ -692,9 +692,7 @@ int
blockif_close(struct blockif_ctxt *bc)
{
void *jval;
- int err, i;
-
- err = 0;
+ int i;
assert(bc->bc_magic == BLOCKIF_SIG);
OpenPOWER on IntegriCloud