From nobody Fri May 06 23:24:41 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 69D561ACFF58; Fri, 6 May 2022 23:24:42 +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 4Kw69607tKz3FDF; Fri, 6 May 2022 23:24:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879482; 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=NShdfJj73407IIE2yQZFLk6Rt8PaMUX1DY9B7JNzkRI=; b=Likw2abERlL5dGZJICIkQfrn/QcYTsQx68Fp94Ua7T+kTFUqYmt3Ya4NsVklHaJF5jiJtz jr5qif5Zvazyn2z0XP2cJ47MW4SQ3w3tp+SlxvMF4To/4Ci2nQ/xyKkqD6YCbNkSsgQHMa 3YmJNqtgQI5f0DaR9UqXfZB3KxFvM2QWH/0NF23jLtjFtp6YA9zA0uoEUy4tcx1h14XnUM B4fIvLCuEX3SfFsfzax9kAW17v0nC9KHdvnKWnhzCCPjZbar1P3uGOv3En5rg1++qgjaDg i7dBBts2TtA05oWMMAbvd605el25o0sNhKVTN3q7mtof8/bW/vIjHIiULsfz4w== 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 B686424FED; Fri, 6 May 2022 23:24:41 +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 246NOfCm074885; Fri, 6 May 2022 23:24:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246NOf3k074884; Fri, 6 May 2022 23:24:41 GMT (envelope-from git) Date: Fri, 6 May 2022 23:24:41 GMT Message-Id: <202205062324.246NOf3k074884@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: 55771d1c0b65 - main - puc: 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: 55771d1c0b65416e490239162769f9ccd3b29c1e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879482; 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=NShdfJj73407IIE2yQZFLk6Rt8PaMUX1DY9B7JNzkRI=; b=ihAivvi8OnmSbgMy3Rilztk/W2zuopk0bUlwUjVzRuby3yuDU8+o3LPnvVSIUs7x/pc0L+ OArXXk+q6szynZj3f9BOoaCAYNvJF/9R+AkUlbedf1y3TL6a9pHJ/aryl6fnSerh3H2eEd L6nx61LYAm/dEjVYBMEqqqaxfbpCH+gLQgUXnrEY8jtTR1WibIYvtMPpqHKhyKbyTFo68Q j7SBFfoyJzPXsQ8rM3S2k+Df9VFZKkr2JIfZZoy6Mq53yYw2MxBmOmgsG8W9At9HMPjd5K qJqMLgAqOk8xBklhJMTBmzyAXbe/owK9Fm5+C5eO53Tq4FKlvtjqfvZNzTMv4Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651879482; a=rsa-sha256; cv=none; b=Ja6oZJDApG/rG5K4YJXC98u/u1QWTblcMu4QeQ+KFxPpcLHzuKCeAwZ9Mnyz8DdkkVjquI FfGwF+JpdObNXlr575phAP0ZXHQGjzHgRakgNMx+RagwgOljENmGFwHfCsI47VKGJ845hQ ALGd0cj43ciDjEGF5rGsEv2uPiwutmg1k+YTaUc82KzYTAfJ+N0QSSKCJ5gSwCi+j7xMwW BBPDWCISLZT4zFjjMIYqA21yjnCJdzDA8q6F3fxs84nuF/426DtR3fO5LAuTAAq3R0+X+p AVK/g+KFr+y/JSCATHw/EOnX9JbNmpzv9Pjw/TLQmJWZAozJTWtmgLCBolhEPA== 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=55771d1c0b65416e490239162769f9ccd3b29c1e commit 55771d1c0b65416e490239162769f9ccd3b29c1e Author: John Baldwin AuthorDate: 2022-05-06 22:46:55 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:46:55 +0000 puc: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/puc/puc.c | 1 - sys/dev/puc/puc_bfe.h | 1 - sys/dev/puc/puc_pci.c | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/puc/puc.c b/sys/dev/puc/puc.c index e8130a5f2e9e..4df42d2c4f95 100644 --- a/sys/dev/puc/puc.c +++ b/sys/dev/puc/puc.c @@ -69,7 +69,6 @@ struct puc_port { int p_ipend; }; -devclass_t puc_devclass; const char puc_driver_name[] = "puc"; static MALLOC_DEFINE(M_PUC, "PUC", "PUC driver"); diff --git a/sys/dev/puc/puc_bfe.h b/sys/dev/puc/puc_bfe.h index 067a18ba1e71..0b079107538d 100644 --- a/sys/dev/puc/puc_bfe.h +++ b/sys/dev/puc/puc_bfe.h @@ -38,7 +38,6 @@ struct puc_port; extern const struct puc_cfg puc_pci_devices[]; -extern devclass_t puc_devclass; extern const char puc_driver_name[]; struct puc_bar { diff --git a/sys/dev/puc/puc_pci.c b/sys/dev/puc/puc_pci.c index 270634f299f8..96275a8f87fe 100644 --- a/sys/dev/puc/puc_pci.c +++ b/sys/dev/puc/puc_pci.c @@ -197,6 +197,6 @@ static driver_t puc_pci_driver = { sizeof(struct puc_softc), }; -DRIVER_MODULE(puc, pci, puc_pci_driver, puc_devclass, 0, 0); +DRIVER_MODULE(puc, pci, puc_pci_driver, 0, 0); MODULE_PNP_INFO("U16:vendor;U16:device;U16:#;U16:#;D:#", pci, puc, puc_pci_devices, nitems(puc_pci_devices) - 1);