git: f48c35fa1ea8 - main - ce: unifdef NPCI also
Ed Maste
emaste at FreeBSD.org
Fri Mar 26 15:01:45 UTC 2021
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=f48c35fa1ea8e37812b315bd0dee17c88155de26
commit f48c35fa1ea8e37812b315bd0dee17c88155de26
Author: Ed Maste <emaste at FreeBSD.org>
AuthorDate: 2021-03-25 23:39:49 +0000
Commit: Ed Maste <emaste at FreeBSD.org>
CommitDate: 2021-03-26 14:59:11 +0000
ce: unifdef NPCI also
After f9839a42ee5d NPCI is always 1.
Reported by: imp
---
sys/dev/ce/if_ce.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/sys/dev/ce/if_ce.c b/sys/dev/ce/if_ce.c
index 9b3cff9adfeb..486397d2a2a9 100644
--- a/sys/dev/ce/if_ce.c
+++ b/sys/dev/ce/if_ce.c
@@ -20,10 +20,6 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
-# define NPCI 1
-
-#if NPCI > 0
-
#include <sys/ucred.h>
#include <sys/priv.h>
#include <sys/proc.h>
@@ -2126,4 +2122,3 @@ DRIVER_MODULE (cemod, pci, ce_driver, ce_devclass, ce_modevent, NULL);
#else
DRIVER_MODULE (ce, pci, ce_driver, ce_devclass, ce_modevent, NULL);
#endif
-#endif /* NPCI */
More information about the dev-commits-src-main
mailing list