From nobody Fri May 06 23:24:43 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 3B77A1AD0221; Fri, 6 May 2022 23:24:46 +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 4Kw6985tbXz3F0k; Fri, 6 May 2022 23:24:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879485; 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=RSNHc8FurfXkH8KbLNTIZAwjT84JAT6p4fGi8m8UA0I=; b=AeURm+T1XTpWpc++21IDrA1aJfwiLBlVrtN7rDkjF0ZUOn+rlYMsdz4VxYMbsfQ5Q6nbJF htQvyx8C5NyS0c+XY4kCsX8LogZyXHLZwn50kFd6UPkRKUUtP4kVCqMHXfG0cVrH1FYCKm 5qkz+djBX177oy4wcfO5W+YluGilbKcP0btia4vf4BUNHQf3ADkcKDqBJuvJCuDfjpBRGW A53k/PnLGRy6IUnEwo+RVAmwPHAJhkfYOZBYlsDZTypHO/18XA7vkk10mrqf0gLp+NGElF /YlX2sk+cdvzLDalIFO1waL6vppn0Os3mUamFsBgDi5YbEBSZJL3y66tPcCRZA== 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 0D06A25049; Fri, 6 May 2022 23:24:44 +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 246NOhRl074933; Fri, 6 May 2022 23:24:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246NOhOX074932; Fri, 6 May 2022 23:24:43 GMT (envelope-from git) Date: Fri, 6 May 2022 23:24:43 GMT Message-Id: <202205062324.246NOhOX074932@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: 30c024c54afc - main - re/rl: 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: 30c024c54afce39a21642308e87891c06cbb6fc5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879485; 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=RSNHc8FurfXkH8KbLNTIZAwjT84JAT6p4fGi8m8UA0I=; b=MKFCOIiQmY53RV/3E3KF0hID5kOgfJuGldxcP64qcaSW0aO0qjkuFAbSXr14VwRXkJPe86 LJOO2M4UJqDr6COUKmn76js8ZVR9/YoYhLj0aT+tTJAgTH2JPbExid3qRxcOXsb2Abv3lF qyooEo8xcMzZgQHc/IAtEYMI/QD0yVKy91Oa+8eJnRyWMsI7GJiXB4yWkX5tv/6GhSUYrn WoPU8V/sc6Rp61lYaapRW+6ZDvmpYZfZwIC2Kw3suLBYZQVyxgNKnmibYvJvkdJOAFa1mp Z5LRoX+qgYPnJFP6piGjSN2/z4gwZ2ppeby5/Ca2K/NiIGLeOZUoITcoYESSkw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651879485; a=rsa-sha256; cv=none; b=vrcRBmug37oMlmIMiP5N4iBcupSziHDPZrz81wt0Pw8ZS70ymOBsB5HKLUzU5ZiN91bQ6G cTyxagn8szJ3Oph6/dGIyxlnn9fCUdm8Vdf2ECp/k1Fo3KrjP6Jhdvi1dBNpY5Z06aGKno y7aKM6ghVvYvv3oB5i8ACn4zNyOOYVRrhnq/JjldBBujJNWqNVbiddLHpZk4qS1J4BNCrq 9flG7PSFF6h1M2dPO1k7Fuol7GmHnDi9bwWsxTSuzYvtbod7qs6R3CVoXlxyfGySqGjkKt A6U11ZtMNoPiNOkKtfa5Nh7/PEa1d39j6oUQRNyCJZzt7hLLEzw+8jQnSrbgFw== 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=30c024c54afce39a21642308e87891c06cbb6fc5 commit 30c024c54afce39a21642308e87891c06cbb6fc5 Author: John Baldwin AuthorDate: 2022-05-06 22:46:55 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:46:55 +0000 re/rl: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/re/if_re.c | 4 +--- sys/dev/rl/if_rl.c | 6 ++---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c index 3e674908b22f..271a7f47b5e4 100644 --- a/sys/dev/re/if_re.c +++ b/sys/dev/re/if_re.c @@ -350,9 +350,7 @@ static driver_t re_driver = { sizeof(struct rl_softc) }; -static devclass_t re_devclass; - -DRIVER_MODULE(re, pci, re_driver, re_devclass, 0, 0); +DRIVER_MODULE(re, pci, re_driver, 0, 0); DRIVER_MODULE(miibus, re, miibus_driver, 0, 0); #define EE_SET(x) \ diff --git a/sys/dev/rl/if_rl.c b/sys/dev/rl/if_rl.c index 32bd569809e0..a53bc7d6eb1a 100644 --- a/sys/dev/rl/if_rl.c +++ b/sys/dev/rl/if_rl.c @@ -256,12 +256,10 @@ static driver_t rl_driver = { sizeof(struct rl_softc) }; -static devclass_t rl_devclass; - -DRIVER_MODULE(rl, pci, rl_driver, rl_devclass, 0, 0); +DRIVER_MODULE(rl, pci, rl_driver, 0, 0); MODULE_PNP_INFO("U16:vendor;U16:device", pci, rl, rl_devs, nitems(rl_devs) - 1); -DRIVER_MODULE(rl, cardbus, rl_driver, rl_devclass, 0, 0); +DRIVER_MODULE(rl, cardbus, rl_driver, 0, 0); DRIVER_MODULE(miibus, rl, miibus_driver, 0, 0); #define EE_SET(x) \