Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Mar 2021 15:01:45 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f48c35fa1ea8 - main - ce: unifdef NPCI also
Message-ID:  <202103261501.12QF1jak092399@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=f48c35fa1ea8e37812b315bd0dee17c88155de26

commit f48c35fa1ea8e37812b315bd0dee17c88155de26
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2021-03-25 23:39:49 +0000
Commit:     Ed Maste <emaste@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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103261501.12QF1jak092399>