diff options
-rw-r--r-- | sbin/modload/modload.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sbin/modload/modload.c b/sbin/modload/modload.c index 5461a6fa861..a5803f8cb74 100644 --- a/sbin/modload/modload.c +++ b/sbin/modload/modload.c @@ -1,4 +1,4 @@ -/* $OpenBSD: modload.c,v 1.43 2007/11/25 19:21:37 mikeb Exp $ */ +/* $OpenBSD: modload.c,v 1.44 2011/06/09 04:57:01 deraadt Exp $ */ /* $NetBSD: modload.c,v 1.30 2001/11/08 15:33:15 christos Exp $ */ /* @@ -129,12 +129,6 @@ cleanup(void) warn("can't release slot 0x%08x memory", resrv.slot); } - if (fileopen & DEV_OPEN) - close(devfd); - - if (fileopen & MOD_OPEN) - close(modfd); - if (fileopen & OUTFILE_CREAT) unlink(out); } |