summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authortom <tom@openbsd.org>2016-09-02 10:16:03 +0000
committertom <tom@openbsd.org>2016-09-02 10:16:03 +0000
commitcf65044c7c75f3641f8b2bbae57cc71c77f84dbc (patch)
tree75880ed57a10fdc922c33c292ddedfd5fb635c54 /sys
parentAdd switch(4) support to ifconfig (diff)
downloadwireguard-openbsd-cf65044c7c75f3641f8b2bbae57cc71c77f84dbc.tar.xz
wireguard-openbsd-cf65044c7c75f3641f8b2bbae57cc71c77f84dbc.zip
Variable 'imp' is set earlier in cd9660_mount() if it's needed (when
MNT_UPDATE is set in mnt_flag), so remove an unnecessary assignment later. ok bluhm
Diffstat (limited to 'sys')
-rw-r--r--sys/isofs/cd9660/cd9660_vfsops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c
index 6066fe2890d..791d822d3b6 100644
--- a/sys/isofs/cd9660/cd9660_vfsops.c
+++ b/sys/isofs/cd9660/cd9660_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd9660_vfsops.c,v 1.81 2016/08/13 20:53:17 guenther Exp $ */
+/* $OpenBSD: cd9660_vfsops.c,v 1.82 2016/09/02 10:16:03 tom Exp $ */
/* $NetBSD: cd9660_vfsops.c,v 1.26 1997/06/13 15:38:58 pk Exp $ */
/*-
@@ -204,7 +204,6 @@ cd9660_mount(mp, path, data, ndp, p)
vrele(devvp);
return (error);
}
- imp = VFSTOISOFS(mp);
bzero(mp->mnt_stat.f_mntonname, MNAMELEN);
strlcpy(mp->mnt_stat.f_mntonname, path, MNAMELEN);