summaryrefslogtreecommitdiff
path: root/sbin/vnconfig/vnconfig.c
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2021-10-25 19:54:30 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2021-10-25 19:54:30 +0000
commitdb519ace69433242e2bacf6dc0e0e2a7bc7409d5 (patch)
tree3d186541fe6a5ec85bbfc3449b64b55efa6f2e80 /sbin/vnconfig/vnconfig.c
parentdda2670f1e9def0681dfa506b1089aec71655bdb (diff)
Zap unused variables/functions under /usr/src/*bin/
OK deraadt
Diffstat (limited to 'sbin/vnconfig/vnconfig.c')
-rw-r--r--sbin/vnconfig/vnconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/vnconfig/vnconfig.c b/sbin/vnconfig/vnconfig.c
index 2af24b51bda..02943d68a9d 100644
--- a/sbin/vnconfig/vnconfig.c
+++ b/sbin/vnconfig/vnconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vnconfig.c,v 1.6 2021/09/22 20:43:16 deraadt Exp $ */
+/* $OpenBSD: vnconfig.c,v 1.7 2021/10/25 19:54:29 kn Exp $ */
/*
* Copyright (c) 1993 University of Utah.
* Copyright (c) 1990, 1993
@@ -332,7 +332,7 @@ int
unconfig(char *vnd)
{
struct vnd_ioctl vndio;
- int fd, rv = -1, unit;
+ int fd, rv = -1;
char *rdev;
if ((fd = opendev(vnd, O_RDONLY, OPENDEV_PART, &rdev)) == -1)