diff options
author | Tom Cosgrove <tom@cvs.openbsd.org> | 2016-09-02 10:16:04 +0000 |
---|---|---|
committer | Tom Cosgrove <tom@cvs.openbsd.org> | 2016-09-02 10:16:04 +0000 |
commit | 8805d198654bb5cb75fbfa567864bcf82fefa3b3 (patch) | |
tree | 32a35cdf122e786f9c19dcb1e8e9b80feb0b3606 /sys/isofs | |
parent | 0f590a8a07c19d851259836004e21db0adaff2d3 (diff) |
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/isofs')
-rw-r--r-- | sys/isofs/cd9660/cd9660_vfsops.c | 3 |
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); |