Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/netbsd32 remove unused variable
details: https://anonhg.NetBSD.org/src/rev/c5e605db8258
branches: trunk
changeset: 448377:c5e605db8258
user: christos <christos%NetBSD.org@localhost>
date: Thu Jan 31 16:03:50 2019 +0000
description:
remove unused variable
diffstat:
sys/compat/netbsd32/netbsd32_module.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (42 lines):
diff -r d9a738aff7c9 -r c5e605db8258 sys/compat/netbsd32/netbsd32_module.c
--- a/sys/compat/netbsd32/netbsd32_module.c Thu Jan 31 15:30:23 2019 +0000
+++ b/sys/compat/netbsd32/netbsd32_module.c Thu Jan 31 16:03:50 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_module.c,v 1.8 2019/01/27 02:08:40 pgoyette Exp $ */
+/* $NetBSD: netbsd32_module.c,v 1.9 2019/01/31 16:03:50 christos Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_module.c,v 1.8 2019/01/27 02:08:40 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_module.c,v 1.9 2019/01/31 16:03:50 christos Exp $");
#include <sys/param.h>
#include <sys/dirent.h>
@@ -48,7 +48,6 @@
int ms_cnt;
modstat_t *ms, *mso;
size_t ms_len;
- int req_cnt;
char *req, *reqo;
size_t req_len;
char *out_p;
@@ -80,7 +79,6 @@
ms_cnt++;
mi = mod->mod_info;
if (mi->mi_required != NULL) {
- req_cnt++;
req_len += strlen(mi->mi_required) + 1;
}
}
@@ -88,7 +86,6 @@
ms_cnt++;
mi = mod->mod_info;
if (mi->mi_required != NULL) {
- req_cnt++;
req_len += strlen(mi->mi_required) + 1;
}
}
Home |
Main Index |
Thread Index |
Old Index