Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2021 22:12:00 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 1a325aa20403 - stable/13 - Remove unused wrappers around kproc_create() and kproc_exit().
Message-ID:  <202103292212.12TMC0Yb064607@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb:

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

commit 1a325aa2040385c12555b3dbb599b7fa9edc1bf5
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2021-03-12 17:47:58 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2021-03-29 18:10:43 +0000

    Remove unused wrappers around kproc_create() and kproc_exit().
    
    Sponsored by:   Netflix
    
    (cherry picked from commit 645b15e558dc102ff70a6332b1d0b0aa733fd2bb)
---
 sys/dev/mpr/mprvar.h | 4 ----
 sys/dev/mps/mpsvar.h | 4 ----
 2 files changed, 8 deletions(-)

diff --git a/sys/dev/mpr/mprvar.h b/sys/dev/mpr/mprvar.h
index ce755188d706..5abcdd5d4299 100644
--- a/sys/dev/mpr/mprvar.h
+++ b/sys/dev/mpr/mprvar.h
@@ -913,10 +913,6 @@ int mprsas_send_reset(struct mpr_softc *sc, struct mpr_command *tm,
 SYSCTL_DECL(_hw_mpr);
 
 /* Compatibility shims for different OS versions */
-#define mpr_kproc_create(func, farg, proc_ptr, flags, stackpgs, fmtstr, arg) \
-    kproc_create(func, farg, proc_ptr, flags, stackpgs, fmtstr, arg)
-#define mpr_kproc_exit(arg)	kproc_exit(arg)
-
 #if defined(CAM_PRIORITY_XPT)
 #define MPR_PRIORITY_XPT	CAM_PRIORITY_XPT
 #else
diff --git a/sys/dev/mps/mpsvar.h b/sys/dev/mps/mpsvar.h
index 2029b570c01d..6e6c9fd28c2b 100644
--- a/sys/dev/mps/mpsvar.h
+++ b/sys/dev/mps/mpsvar.h
@@ -831,10 +831,6 @@ int mpssas_send_reset(struct mps_softc *sc, struct mps_command *tm,
 SYSCTL_DECL(_hw_mps);
 
 /* Compatibility shims for different OS versions */
-#define mps_kproc_create(func, farg, proc_ptr, flags, stackpgs, fmtstr, arg) \
-    kproc_create(func, farg, proc_ptr, flags, stackpgs, fmtstr, arg)
-#define mps_kproc_exit(arg)	kproc_exit(arg)
-
 #if defined(CAM_PRIORITY_XPT)
 #define MPS_PRIORITY_XPT	CAM_PRIORITY_XPT
 #else



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