From nobody Fri May 6 23:25:32 2022 X-Original-To: dev-commits-src-main@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 530591AD1D28; Fri, 6 May 2022 23:25:35 +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 4Kw6B52gQxz3FPZ; Fri, 6 May 2022 23:25:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879533; 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=jIn4lTwF0Jx7bjrp8fqmDDpKAWMfvbrWgVeBB8Zx16M=; b=UIuqWvnLcQ7bId+FUVFSDeqEQjHd0Xx9cY2lzPddnM8n58+zbU5JO0p4l+pfbNSRnL93I4 apLbsNzRMmfOKzKhQOAWSkSeVvvMKDABoJpRbe9o6kWzEwLxAi1TX0iwW7yxuWM1tVv5x9 +ynwC5LD7WUht0b0bn88DvTu2fNBi9ZGLbYrXnoO30O36b+8R5S+XY26SXwiDVQbqHNxhl A26UQg2Nw8HBjYD9at6YF36mFp4Xk9OcvOztZeSURq6Ner7q8twlCQNFcxkoV7z3ACKhbr /YwVG2M3QX+VQshIaX1PILDxppcXwa7Ce7FXDZhO+uss3bCoaMaLxlwyJAQZug== 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 01A9D253AB; Fri, 6 May 2022 23:25:32 +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 246NPW0k076019; Fri, 6 May 2022 23:25:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246NPWdb076018; Fri, 6 May 2022 23:25:32 GMT (envelope-from git) Date: Fri, 6 May 2022 23:25:32 GMT Message-Id: <202205062325.246NPWdb076018@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 83c0a9e839e2 - main - iavf/ice/ixl: Remove unused devclass arguments to DRIVER_MODULE. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 83c0a9e839e2430617ae511cf80e150a8984d414 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879533; 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=jIn4lTwF0Jx7bjrp8fqmDDpKAWMfvbrWgVeBB8Zx16M=; b=dc1JGdX1PnQIL9AN5/vH/0IOpG7i7g9RAJSXvwn03oaflmtCgHFyGgL69Q2jDHbGARK8sr AdwhZVBdpedAIiJAcbgwZ2C4ykVAgYiGe5EqlHPYi1Dgi3zxKYQGrsA9sV5XGCvaQycYkS yFWqgzD3wQ+wF2BP2jSlJ/Tue3I/i3agb1g7S9q6qlLgd2/jfkFgUcq/NRtlDBJAHycWvr MD7m48M2XQjiB33ZT8RhsLGaBaqeYm/T6w1rg6xeqsgiwd+aEklNYbL4yy8+tEPJW5Xn7h 6p9IyQPsmGOV9svVcMZK66zY9W0uNvaxfpRYKokUX9YNlXKZy5Zqc9uO8OWJ+w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651879533; a=rsa-sha256; cv=none; b=GzlvVH59vwVhfpcbk+LR7Qo+usmVJ49bG7YNAJBr60pyQiDPWXf+CHh2gyPGntowORElcB PW4FYy435qk17aZpWnottzOQj6Dq415zukojC3bCyFWEskT8FTYDQ5gRGFfq2tPo3Z3622 62fShI/JBEYPKpKmtKooz8JOcCkG2aP6NUELe2yUvc8Kz6hgUmrEZpZOhSUnA+7CvLIZNz dx3VIDbYeSeE2TL3UDTOD3zNrbbyuXmpNcA0DVTWO3tsHB+fr341aoDQ6Mphp9kY9Nh6Kj XY9u1B7tsQiJ0+Inrb3TDQ3YKs3ByanpDxrWg5o1xKPyBVrOxT7+8BO1Bu520A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=83c0a9e839e2430617ae511cf80e150a8984d414 commit 83c0a9e839e2430617ae511cf80e150a8984d414 Author: John Baldwin AuthorDate: 2022-05-06 22:46:59 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:46:59 +0000 iavf/ice/ixl: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/iavf/if_iavf_iflib.c | 3 +-- sys/dev/ice/if_ice_iflib.c | 9 +-------- sys/dev/ixl/if_ixl.c | 3 +-- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/sys/dev/iavf/if_iavf_iflib.c b/sys/dev/iavf/if_iavf_iflib.c index 1f6c056bdf0a..848ad682ef0b 100644 --- a/sys/dev/iavf/if_iavf_iflib.c +++ b/sys/dev/iavf/if_iavf_iflib.c @@ -125,8 +125,7 @@ static driver_t iavf_driver = { "iavf", iavf_methods, sizeof(struct iavf_sc), }; -devclass_t iavf_devclass; -DRIVER_MODULE(iavf, pci, iavf_driver, iavf_devclass, 0, 0); +DRIVER_MODULE(iavf, pci, iavf_driver, 0, 0); MODULE_VERSION(iavf, 1); MODULE_DEPEND(iavf, pci, 1, 1, 1); diff --git a/sys/dev/ice/if_ice_iflib.c b/sys/dev/ice/if_ice_iflib.c index e0e852725b33..1b417a5aff82 100644 --- a/sys/dev/ice/if_ice_iflib.c +++ b/sys/dev/ice/if_ice_iflib.c @@ -269,14 +269,7 @@ static struct if_shared_ctx ice_sctx = { .isc_ntxd_default = {ICE_DEFAULT_DESC_COUNT}, }; -/** - * @var ice_devclass - * @brief ice driver device class - * - * device class used to setup the ice driver module kobject class. - */ -devclass_t ice_devclass; -DRIVER_MODULE(ice, pci, ice_driver, ice_devclass, ice_module_event_handler, 0); +DRIVER_MODULE(ice, pci, ice_driver, ice_module_event_handler, NULL); MODULE_VERSION(ice, 1); MODULE_DEPEND(ice, pci, 1, 1, 1); diff --git a/sys/dev/ixl/if_ixl.c b/sys/dev/ixl/if_ixl.c index 7fa2318db300..975aaef0d5c6 100644 --- a/sys/dev/ixl/if_ixl.c +++ b/sys/dev/ixl/if_ixl.c @@ -155,8 +155,7 @@ static driver_t ixl_driver = { "ixl", ixl_methods, sizeof(struct ixl_pf), }; -devclass_t ixl_devclass; -DRIVER_MODULE(ixl, pci, ixl_driver, ixl_devclass, 0, 0); +DRIVER_MODULE(ixl, pci, ixl_driver, 0, 0); IFLIB_PNP_INFO(pci, ixl, ixl_vendor_info_array); MODULE_VERSION(ixl, 3);