From nobody Fri May 06 22:43:47 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 059221ABA37F; Fri, 6 May 2022 22:43:48 +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 4Kw5Fw2lFPz3w7M; Fri, 6 May 2022 22:43:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877028; 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=BWIRs4QQiM9jmsvN24kG4ezbCrO54/JmO0Rq7Sij298=; b=BxtTidMS+c/eo2xAz91TQTNtGy11XWTKnmhtP+T8wcgLZLXbyES3WOQ4hEbYH6y4FujLeK z8uMPqJCAPYkXKTVtMVpOgiZsOimsBvYUQ9OIaLZoNcKLGB+a7L0Ctj+FIE8PoqQNv6hG1 BItrWxfr+VKUZIe1jaYHWn9zHvRORMgZxrmDLRTht9dbSsEpc6V1ofS6Zz/DZ6L5Qd77mQ fuQvULNAmhAtWWMWohpyvqTk+RKNBc1cV9O8GSRHcoapc4D1EntN/pyIDRdkP+81xeawYh 8TsEwNAtjdJjeYH0rvicHJubQVb55cIuMVVgCN4DAY7TLsacS+XeR50DPZWIDA== 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 1816024AF0; Fri, 6 May 2022 22:43:48 +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 246MhlYo020163; Fri, 6 May 2022 22:43:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246MhlkY020162; Fri, 6 May 2022 22:43:47 GMT (envelope-from git) Date: Fri, 6 May 2022 22:43:47 GMT Message-Id: <202205062243.246MhlkY020162@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: 7fcc34492800 - main - msk: 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: 7fcc3449280064f975dadc7e5618a712d894b664 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877028; 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=BWIRs4QQiM9jmsvN24kG4ezbCrO54/JmO0Rq7Sij298=; b=FqB4UNgbmpE2/hkL+5/OzbRpaOtIgFRk586m2NEBKzkoTITbTVVMGESDjcamIhHzJxQuhG ncXJLqg5CjR5KCGo+0vd8XZutVcYtLw8vzvBsoqRe4/7yLKYLbu1Tgd8u8S1eNpA92SIKv yJ6x0NCUL9eXh8nLoGiDxwul++8qm6Ekyk2NqpN/BwM7UmKgzhbpFDm5DjfYFOuMYy6xDx YPMq58AWHSVhZGwRPrP+uZcMmfp5ZG5gQT4rlA2et0GTHeiC8zKp9qQK/jGXIGEl5Rg+9s n1xWPAfw8bNzJ2Q+ao+7coeSHcSdhoMQUyJEXv0HrPu0UoJopAFZbe76Wg6uKw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651877028; a=rsa-sha256; cv=none; b=iZuwo4uM/w1fbfBuYGoSpVWDCMTCX/YNpO1uTTRRG/YgFe3jqepa6ZF5RFc4zEZQWb63xB kwXdj2wV/H6ai0/eplJ+7kPCBQhGkDHC86f5kZcUuQ3p9W0btLHEg61JiyGNtnBRD8SBRy 6kFAw6vls/5zr8+essv8xpvvV8/djMVxPaeU/F2WXCH8mwZ/pfjX9E2wkhVa1uX8XuZlpQ P74OzGVVIw/9NkpEpaTRjSilYNDuhfzu+wMVuVqjaVRtBZce8E/Z0fqzwmkU8Cg4nzqCVO BVKZkujetx0KGO9W216HZPDCPZDCVIpITXFi8U2jKdIQIqQ81kokoOOoChSOBg== 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=7fcc3449280064f975dadc7e5618a712d894b664 commit 7fcc3449280064f975dadc7e5618a712d894b664 Author: John Baldwin AuthorDate: 2022-04-20 17:05:43 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:39:32 +0000 msk: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/msk/if_msk.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sys/dev/msk/if_msk.c b/sys/dev/msk/if_msk.c index 6436079ec38b..3ca1bc431ccf 100644 --- a/sys/dev/msk/if_msk.c +++ b/sys/dev/msk/if_msk.c @@ -349,8 +349,6 @@ static driver_t mskc_driver = { sizeof(struct msk_softc) }; -static devclass_t mskc_devclass; - static device_method_t msk_methods[] = { /* Device interface */ DEVMETHOD(device_probe, msk_probe), @@ -372,10 +370,8 @@ static driver_t msk_driver = { sizeof(struct msk_if_softc) }; -static devclass_t msk_devclass; - -DRIVER_MODULE(mskc, pci, mskc_driver, mskc_devclass, NULL, NULL); -DRIVER_MODULE(msk, mskc, msk_driver, msk_devclass, NULL, NULL); +DRIVER_MODULE(mskc, pci, mskc_driver, NULL, NULL); +DRIVER_MODULE(msk, mskc, msk_driver, NULL, NULL); DRIVER_MODULE(miibus, msk, miibus_driver, NULL, NULL); static struct resource_spec msk_res_spec_io[] = {