summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2004-01-14 01:16:14 +0000
committerwpaul <wpaul@FreeBSD.org>2004-01-14 01:16:14 +0000
commit5acce6f7278b734263f6ae1ad1e53cf0fa67f717 (patch)
tree698e29a4dbcde29ed7d779cea17e57d9ddb891b7
parent47e70ee097be9319d4e4843091559b2c638ba989 (diff)
downloadFreeBSD-src-5acce6f7278b734263f6ae1ad1e53cf0fa67f717.zip
FreeBSD-src-5acce6f7278b734263f6ae1ad1e53cf0fa67f717.tar.gz
mp_ncpus is always defined now, so no need to do an #ifdef SMP in
ndis_cpu_cnt().
-rw-r--r--sys/compat/ndis/subr_ndis.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/compat/ndis/subr_ndis.c b/sys/compat/ndis/subr_ndis.c
index e7c6a2e..2739ec9 100644
--- a/sys/compat/ndis/subr_ndis.c
+++ b/sys/compat/ndis/subr_ndis.c
@@ -2441,12 +2441,8 @@ ndis_close_file(filehandle)
__stdcall static uint8_t
ndis_cpu_cnt()
{
-#ifdef SMP
return(mp_ncpus);
-#else
- return(1);
-#endif
-};
+}
typedef void (*ndis_statusdone_handler)(ndis_handle);
typedef void (*ndis_status_handler)(ndis_handle, ndis_status,
OpenPOWER on IntegriCloud