From nobody Mon May 09 19:23:11 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 9D31B1AC3668; Mon, 9 May 2022 19:23:12 +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 4Kxrg35JXfz3p3l; Mon, 9 May 2022 19:23:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124191; 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=E1JZJuVA3A/PfrzWybxYfHArNOrY22Ufv4IiG/xh9F8=; b=XO0hsA+ZnfpETO5/krJomZPuydbR4WWb3Crv2zV/512/FapzMrPWyKtNKyxf6tvaXkP+Ir mjfvMVOKjIsfU+OgmDFYnGBTC+sejCEjTvyU4+Xnre8rqNvuPyBx0XWtqcvXgE/HSTiUki Z8sEfzw7wk+845fcLQ9RWyB2QOi78W1NZygW4o6AZuoN5l0TzXlaSxpbQp4Ng7tjV1KoB6 ao4ZSanni2Rkj9w4qqFF8CmU8HDdfil4NChzGC3xUNS3pBhXJ1+0+M4wRQhGXQFrAO56n0 msP6k8MtYcFEssn+GvFhTDcbz8yszGIafvPUBfA3zVaTyAwL+wKfef6CW1AnDA== 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 91C3117022; Mon, 9 May 2022 19:23:11 +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 249JNBr9085849; Mon, 9 May 2022 19:23:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249JNBEP085848; Mon, 9 May 2022 19:23:11 GMT (envelope-from git) Date: Mon, 9 May 2022 19:23:11 GMT Message-Id: <202205091923.249JNBEP085848@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: 2d79bae57ec9 - main - my: Remove unused devclass argument 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: 2d79bae57ec94af76252e4324a464ae8ab4de9fe Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124191; 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=E1JZJuVA3A/PfrzWybxYfHArNOrY22Ufv4IiG/xh9F8=; b=XxhdJ3tevY3a0VweO9PdLCwqZsqlFjHERLEgPrGn4M/PM+gjTltVS5o0t2xugxwFwJTwN7 j5oMb+5Oa+uDUPFBY/WTm4d3qcFTk8Ri+BjORTOsdbVAMqT2jveiNALrA5ebbJvN7qc46p bLEG3OgcXwzfoJu/EN6mn647BuSLpAgYMTKmgHU/kfS2+gqYHqXBCJEyGZEa2F5AC+Zmbk s9o8zNbU+Bcb9cWno/goeDHoO/MiuiIttqDiAg48rNn0HNRCnhS+bABVAvF6yILYGL+u3+ vDCDLnsNEV1g2tru3SvRYKyQX4Xw/UkfWA0SN5N4QBEfVIdkcIi5FsPK7Gt3pQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652124191; a=rsa-sha256; cv=none; b=yMPRRMhztWdc3cwoLxPoRjYktWa4eMROD4WSI4YJyuAsTvOfwT5EHrzSnuGF2tEZIpjd7Z Xzmga0byscblMDN5u/pcLeY1RgTBXUfiPA6aHLk2dGR6qH7MvNwEM3ifEfmCwOR03jHhL7 hu6QXoomaN21eqYg1zGYHBiGxhWeBsnguheEixwbXI/6ZQL6jwxzzmRhSkK+0dWTF1HkUq puHHY57ChQABF74bhlY52aA6JcAJe9//eM2OcQzjnSQRqKPMyjIHERSMNhJZHzJ7VzmFSG bcEmbMozC21CY6/4JENN+gvwXrVJIhJWrfRrdVVVI8mYqBODpui1ivwEv0tHGw== 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=2d79bae57ec94af76252e4324a464ae8ab4de9fe commit 2d79bae57ec94af76252e4324a464ae8ab4de9fe Author: John Baldwin AuthorDate: 2022-05-09 19:22:03 +0000 Commit: John Baldwin CommitDate: 2022-05-09 19:22:03 +0000 my: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/my/if_my.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/my/if_my.c b/sys/dev/my/if_my.c index 1e519e700379..42a85bf502f3 100644 --- a/sys/dev/my/if_my.c +++ b/sys/dev/my/if_my.c @@ -159,9 +159,7 @@ static driver_t my_driver = { sizeof(struct my_softc) }; -static devclass_t my_devclass; - -DRIVER_MODULE(my, pci, my_driver, my_devclass, 0, 0); +DRIVER_MODULE(my, pci, my_driver, 0, 0); MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, my, my_devs, nitems(my_devs) - 1); MODULE_DEPEND(my, pci, 1, 1, 1);