From nobody Fri May 6 22:43:30 2022 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 9412F1AB9C01; Fri, 6 May 2022 22:43:36 +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 4Kw5Fg0r5Pz3vwk; Fri, 6 May 2022 22:43:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877015; 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=RPnyiR12EBUQ4iBVI1yC0JvVMSwYdbYeJw1iK04JQaU=; b=A640PNOsVRHEHrJKIiA3dKqb+JpnjNswtutj9E9K4dUel5y49Rxz64tHYGw4cmauBbhkSy 1+S50xKDXdU5RHE+X/1c3lMWHGCCMFQWE3vXcXNFVlzFAjjBzNgy4NDn9RtFzsMyOLhGql 2+4d3ryq1xHbUeCBjuQR4/CbD+eWTcYKOSQqm7QW/MMt0ZyzTztjvV+sxwhkKwjQyTkIcQ 0kFosa9FOOnXqAWFdLVBsGQQ0prtwsVwDAZ/NKgSCnK2VffdPpw5vb5PFVXpfKOkOWq0Hu kOAOUrbiLFDgKLVFvgbBYPBC642m9Wpn5l5SelDnXilkNM2TbhwhYrx4H0PnMw== 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 0DE7624B0C; Fri, 6 May 2022 22:43:31 +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 246MhUPE019785; Fri, 6 May 2022 22:43:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246MhUui019784; Fri, 6 May 2022 22:43:30 GMT (envelope-from git) Date: Fri, 6 May 2022 22:43:30 GMT Message-Id: <202205062243.246MhUui019784@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: 3144501a3f77 - main - ips: Remove unused devclass arguments to DRIVER_MODULE. 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3144501a3f777d3bf89df9728d437ae177df47eb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877015; 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=RPnyiR12EBUQ4iBVI1yC0JvVMSwYdbYeJw1iK04JQaU=; b=MgaQ+R9YFIemXG7VHFYkRt9SjWHdE5jjwhnq9VdHu/oqevRGxEUTukg9gB95VxDullM3sI L0mnO7+dX40Acvt6nbscqd1idkRF+Ry0QSiQN7+p1T9AaUs2mQz4lmgoXRjxka+FuXltD4 3UIo6nPohZFLfZWcvpeeTFRsE4kRtJbVbJpIJW+N8WG6uBs/QHv5FBdbZfyMyybsUu+4GR HUuJaLrl4He8hERP76x3QzAlE8xhdBOB4Ui6jQEFUigmzzW2U+kp8B7DJRPPvP6koZYeaI 3h0VxKRikg64m8/6FuYc1qwupP7jLBundSUljd0ElUg4rWXmmaDSyDJachixuA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651877015; a=rsa-sha256; cv=none; b=Jako8xi6p85vmsA7WKHhiClTudZHOcSrpcl6t4zfR46vXWufIE9KaFmjCQQC0zp192bYoB CP79AEK71Lg3hzhxcSOcRh125k56jzn+vJ5C9AoVIJXRD2bWZ8WMMHKJ/OAmQ8L4MnCFUy KujSkiEwgfBxtPpm04g8BZd0/kzR5rd1os7HBeZdimVwYHwyssYek4up0V7oA1NWgW3PqD E/IpPn4aVY3O8sZNCegjWzJOeUS7a55FoFhxL0KwPD1awufJsfBffMQtXDdbUHPMtUSUpQ jgQf9loJxlmjm75xQDJ45gzOZYqDJsaBKkPEa3mTJeurA6Bc08Nr7RGIIwOd4g== 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=3144501a3f777d3bf89df9728d437ae177df47eb commit 3144501a3f777d3bf89df9728d437ae177df47eb Author: John Baldwin AuthorDate: 2022-04-20 16:40:50 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:39:31 +0000 ips: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/ips/ips_disk.c | 3 +-- sys/dev/ips/ips_pci.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/dev/ips/ips_disk.c b/sys/dev/ips/ips_disk.c index 7ae489ea8201..eb9ec08c1d94 100644 --- a/sys/dev/ips/ips_disk.c +++ b/sys/dev/ips/ips_disk.c @@ -62,8 +62,7 @@ static driver_t ipsd_driver = { sizeof(ipsdisk_softc_t) }; -static devclass_t ipsd_devclass; -DRIVER_MODULE(ipsd, ips, ipsd_driver, ipsd_devclass, 0, 0); +DRIVER_MODULE(ipsd, ips, ipsd_driver, 0, 0); /* handle opening of disk device. It must set up all information about the geometry and size of the disk */ diff --git a/sys/dev/ips/ips_pci.c b/sys/dev/ips/ips_pci.c index 588e14d5e6b8..3d1d0c68728f 100644 --- a/sys/dev/ips/ips_pci.c +++ b/sys/dev/ips/ips_pci.c @@ -219,5 +219,4 @@ static driver_t ips_pci_driver = { sizeof(ips_softc_t), }; -static devclass_t ips_devclass; -DRIVER_MODULE(ips, pci, ips_pci_driver, ips_devclass, 0, 0); +DRIVER_MODULE(ips, pci, ips_pci_driver, 0, 0);