From nobody Fri May 06 22:43:50 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 224181ABA5E0; Fri, 6 May 2022 22:43:52 +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 4Kw5Fz1DNMz3vpR; Fri, 6 May 2022 22:43:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877031; 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=E+AiN1l01WXkMNSAUEukzBC0Jaezh3mmSDojbPb+Dgo=; b=R3lVJqeRJcjaSXXnLAJHAIPmrRgax83GwzFlZXtrymkbD4UdEvk12v3GbXQ7H9oNAt1zhV i78pbP6UlC/0aM7StCIPzweQoCxlf9yyUVERM0Kw2digj0eD3Z4ihyAW8p2QPw0Bi4LIvM EPWSyXsLOm9zih6AHmTMmbNHh4pOWQIHDnbA8Rd8Y42JatazAylVGNjWlb6lWYcBBKTUmm BqhiDNVbe9UPleBvG7OvFQpDy8k9hSCVw3eKhgg6a8iiit3amH/qqgc/5F3bePKrQQvIQu 4Na/4rtcdJZYqBDXjDOHVSNixz08JVM1NwoMAOvDRXlGLo74Wr0d9bxu8V7THw== 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 5DF2C241EB; Fri, 6 May 2022 22:43:50 +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 246Mhoui020211; Fri, 6 May 2022 22:43:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246MhoBq020210; Fri, 6 May 2022 22:43:50 GMT (envelope-from git) Date: Fri, 6 May 2022 22:43:50 GMT Message-Id: <202205062243.246MhoBq020210@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: 40995739779e - main - mwl: Remove unused devclass argument 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: 40995739779e1bfb95a6e089b57bae0b8deeaf34 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877031; 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=E+AiN1l01WXkMNSAUEukzBC0Jaezh3mmSDojbPb+Dgo=; b=ksneBZVcuEmsP6w7ppLkzTwQGdqCd9X13uASNelIIS2O/AVgsfRwkmis8hev3IioS4UR6N 7DlvlnyXvf0xOZlCCViaxUwmoTgNyTiE+YVMxk8C5+vS4oP9LRhakqATTo3afn3uCVVnD0 hflSck+ZStRc4aOhDPHhPbM7y5fs8p4Orx1p6azt1V4wgOXItjvjDvBslTLdkMurZs4BGW U1Gkt36T/vFkDbbJCkaB1WGiB+I9Z2lAQQdvufFjJqk7GPMqKWEwqFOS6GUfrDMXGtP1Ka 8l6iFv4VwbO3iUgP0uuIn9FZaQYU8hSLHgK9PWCsCiyYTHfJbwrR7p31uUoedQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651877031; a=rsa-sha256; cv=none; b=aEYnNeYHdgw2nvgW6RW64R8A315cx16jEt3U2TYTb2pR9IeRySguhtytvM0p4w2QeAf7ZB pSL+0pRHgYKsmcoezWlL/siV3kV1mDtfV3nK4CCMzPnh3KiGknDkHjZR5byXnYVRVLt9sd 7QMwt7YgUA/Ccjq+8upVusVphcqUV+7JuAbOfOj1TkRbPFTjGiSk7qcNF8+62TTqRS+JO2 PM0Lg5o3GuR0Wv3JknnnpD/gLhq6uTdgM+6kpFy01iZ4Q6XP/s2fExS1zCg4mQPtAR+jdT rqsRxKzCi5DxgY92Z/bDL4k02wLQ0Pz9HWS36ckXTkkn7uKpatwsjhE4sSeejA== 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=40995739779e1bfb95a6e089b57bae0b8deeaf34 commit 40995739779e1bfb95a6e089b57bae0b8deeaf34 Author: John Baldwin AuthorDate: 2022-04-20 17:07:43 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:39:32 +0000 mwl: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/mwl/if_mwl_pci.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/dev/mwl/if_mwl_pci.c b/sys/dev/mwl/if_mwl_pci.c index bf17fe4750b1..b6d3fdd7a2d7 100644 --- a/sys/dev/mwl/if_mwl_pci.c +++ b/sys/dev/mwl/if_mwl_pci.c @@ -281,13 +281,14 @@ static device_method_t mwl_pci_methods[] = { DEVMETHOD(device_resume, mwl_pci_resume), { 0,0 } }; + static driver_t mwl_pci_driver = { "mwl", mwl_pci_methods, sizeof (struct mwl_pci_softc) }; -static devclass_t mwl_devclass; -DRIVER_MODULE(mwl, pci, mwl_pci_driver, mwl_devclass, 0, 0); + +DRIVER_MODULE(mwl, pci, mwl_pci_driver, 0, 0); MODULE_VERSION(mwl, 1); MODULE_DEPEND(mwl, wlan, 1, 1, 1); /* 802.11 media layer */ MODULE_DEPEND(mwl, firmware, 1, 1, 1);