Remove unused wrappers around kproc_create() and kproc_exit().
Reviewed by: imp, kib MFC after: 1 week Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D29205
This commit is contained in:
parent
755efb8d8f
commit
645b15e558
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user