From nobody Wed Dec 01 18:59:07 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id CEB6118B647F; Wed, 1 Dec 2021 18:59:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J47fg3N20z3kfx; Wed, 1 Dec 2021 18:59:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 304ED71A4; Wed, 1 Dec 2021 18:59:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1B1Ix7w5060414; Wed, 1 Dec 2021 18:59:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B1Ix7GY060413; Wed, 1 Dec 2021 18:59:07 GMT (envelope-from git) Date: Wed, 1 Dec 2021 18:59:07 GMT Message-Id: <202112011859.1B1Ix7GY060413@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alexander Motin Subject: git: 9d98b001a8c5 - stable/12 - Remove unused wrappers around kproc_create() and kproc_exit(). List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mav X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 9d98b001a8c5dad3735796e22ad0e4e776c91d4e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638385148; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ShYpRfqh6PPWmqIim6YeQCDsy0DcvohPYfJpX/ONlsQ=; b=OBPxtWdn7U1m8sK7nEDNhGkXzVkdF6l2qNkeRPnLG6mp+tuBLpKirG/t6NqO4FSayy9TJr 4aC0lFU/0sHYke0gVs0tfeYBlWaa6uTWpP/M4qRCccsIFw0wDPRM55I8jQq7yY0K24ZJ0G BCmh7PaSFnQSRzRHAN/aTyGHU7ezRcu5UEclDKQJpSLFwW9ZzlTuTqzQLO9GEBgpetR/lI Nl3FtnES4xaZnGR/KKqxDijVfFmbJJU9/yAKJXHcxHkV5oCN9hfHB/6sedctfH61V2WaUa 51hnf5KWWMI7dBD77CI/tZF5cpiyw4lZxYwMDL+eQe1cQwrZpMFCORwV2mnJDQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638385148; a=rsa-sha256; cv=none; b=MPp3QKx1vN4Gi2D2OKs3dy7CJ0C0UJZb7hZ0n7X2hJN0biGroHaIqLrwOazpbAqIFfeLWI uvOauQtu8KvCwfQSPJi11FW2wWoZSyoKDmXmSRheh4HsH3/P6SQ2gF4MhlvFkuEQs+p4aW eUvylBKnuZGqfzOv3DB30Rw6L168Lkj7bo1lHFulTLKTwLTYxhQbsnTqmj0JP8iTCF48tS GNUiNgrokQSPgIMXhNbdsIAlqaH/wHs71VbJQLXQD5qzJAkIIPlS+4pZKBO7oOuo4vIHXG u7z52ro2VedKXbG3ZQORVTKG0PqhD3VUJZC+L6+ae9+WDfmXK/0UyKfYxInlYg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=9d98b001a8c5dad3735796e22ad0e4e776c91d4e commit 9d98b001a8c5dad3735796e22ad0e4e776c91d4e Author: John Baldwin AuthorDate: 2021-03-12 17:47:58 +0000 Commit: Alexander Motin CommitDate: 2021-12-01 18:46:48 +0000 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 (cherry picked from commit 645b15e558dc102ff70a6332b1d0b0aa733fd2bb) --- sys/dev/mpr/mprvar.h | 10 ---------- sys/dev/mps/mpsvar.h | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/sys/dev/mpr/mprvar.h b/sys/dev/mpr/mprvar.h index f8e479b2fbc8..8eb9379d8cff 100644 --- a/sys/dev/mpr/mprvar.h +++ b/sys/dev/mpr/mprvar.h @@ -909,16 +909,6 @@ int mprsas_send_reset(struct mpr_softc *sc, struct mpr_command *tm, SYSCTL_DECL(_hw_mpr); /* Compatibility shims for different OS versions */ -#if __FreeBSD_version >= 800001 -#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) -#else -#define mpr_kproc_create(func, farg, proc_ptr, flags, stackpgs, fmtstr, arg) \ - kthread_create(func, farg, proc_ptr, flags, stackpgs, fmtstr, arg) -#define mpr_kproc_exit(arg) kthread_exit(arg) -#endif - #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 6800ef468757..bb0087bf0346 100644 --- a/sys/dev/mps/mpsvar.h +++ b/sys/dev/mps/mpsvar.h @@ -827,16 +827,6 @@ int mpssas_send_reset(struct mps_softc *sc, struct mps_command *tm, SYSCTL_DECL(_hw_mps); /* Compatibility shims for different OS versions */ -#if __FreeBSD_version >= 800001 -#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) -#else -#define mps_kproc_create(func, farg, proc_ptr, flags, stackpgs, fmtstr, arg) \ - kthread_create(func, farg, proc_ptr, flags, stackpgs, fmtstr, arg) -#define mps_kproc_exit(arg) kthread_exit(arg) -#endif - #if defined(CAM_PRIORITY_XPT) #define MPS_PRIORITY_XPT CAM_PRIORITY_XPT #else