From nobody Mon May 09 21:47:37 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 852D91AC95A5; Mon, 9 May 2022 21:47:38 +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 4Kxvsj6XLpz3GjQ; Mon, 9 May 2022 21:47:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132858; 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=SLB+pSuCTi9wOmkGyU6DgUFsegIV4KP/xGfO48cni2g=; b=tr2s9bnJvCur7nShr3qqkzS0rCwTqNZpkhOOLe4o94Ay587v2TrHoHMDNfLoKavRsqlvSJ uxJFnRLzh1hUO9eR6b68sTGo9uRvvEr7bK8hfRMePjL7P2y3eHiiTi+B51T8Cm3N7WUPSM 6N8gkrLN1Y69hL4aJ6EpKlX76xoGpApSVDj98+v2uW4BBQJ2QgQn3BKmyZAk9Se/eW3gU9 UiU15jmfe3Lg9cXOgNoCHk3JHKGnlYkVffGUI2oPeTd/BLjZrkTJpp1i5V5JyAxCPSG8d7 GM1iqEz0KsvCAOyVoSnN2hJ1q0eE6o2qOSX1YHorQUWDzxc3CJfVTi0dEe3pzw== 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 9E5F018CD4; Mon, 9 May 2022 21:47:37 +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 249LlbkW079901; Mon, 9 May 2022 21:47:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249Llb6L079900; Mon, 9 May 2022 21:47:37 GMT (envelope-from git) Date: Mon, 9 May 2022 21:47:37 GMT Message-Id: <202205092147.249Llb6L079900@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: 6a9d865c2b0d - main - al: 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: 6a9d865c2b0dab299e187ea252db1a32e84e1bc8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132858; 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=SLB+pSuCTi9wOmkGyU6DgUFsegIV4KP/xGfO48cni2g=; b=QBiDFCrhJpUfTM93zD6uwyPHEieDX4OVPhwyNcxgoT2p3+TWV6QSc5HErdbUQgMYkSKPhw TxEES6KDwd9YXaBTNhLxelG01zA3VPK4GMQv0FS5ZsC3CfXKP/4AQznnmdEY9ptZjJgcUH +OLRhKI9KgmKunG2/lZjOR5P5w9cYJ8iTU7mwDXi1t+dmaMn2uPdn3WWEnkv925iSUdL9E V7D+mW2J/hgkqr5yCa0N2yJqWKcZHm9SUthNIx7T9y98oijQLLZPVfV38GOBRZ4WYZ84ad HyzZkADbj8itKwSfhEGFxO2PZVbOioEKDdoTZUOSikO77PAy4tUcxxlncd4GgQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652132858; a=rsa-sha256; cv=none; b=YbS+yJ2Pk27Ix04Hd93kDFosYz4A1xgqEUP3Vj1udy7iGDaG3/pJ0iRzLNtOIMZUIkhExr 3x4ejSEKgQXYA02+fIZILouFr7uvOXqo5jbPynrwH69/5CXUAFVdtYGHTVVEb83EwT0H+7 njJgpIf/Um5GBa2T6vcGLUeWdIkVbR131mJJGaOU8WaM9uRkP3/cP2BQj28NF5T8OyoLG6 2dOsv+hAICXHbFrlXAexc4F1C/vqmjCEy5bXmzOHdWqKgua/kuYa9wydYwSmtfbSqL8BW+ N0/aSlb9JuJksV+tDhHTIvDvFkpLwKl/gqPXYj8vFIOtJ6uZuQj8inEyhnBqLw== 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=6a9d865c2b0dab299e187ea252db1a32e84e1bc8 commit 6a9d865c2b0dab299e187ea252db1a32e84e1bc8 Author: John Baldwin AuthorDate: 2022-05-09 21:26:44 +0000 Commit: John Baldwin CommitDate: 2022-05-09 21:26:44 +0000 al: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/al_eth/al_eth.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/al_eth/al_eth.c b/sys/dev/al_eth/al_eth.c index 7af41993009d..4ad57bd6fa65 100644 --- a/sys/dev/al_eth/al_eth.c +++ b/sys/dev/al_eth/al_eth.c @@ -175,8 +175,6 @@ MALLOC_DEFINE(M_IFAL, "if_al_malloc", "All allocated data for AL ETH driver"); #define AL_100BASE_TX_SPEED 100 #define AL_1000BASE_T_SPEED 1000 -static devclass_t al_devclass; - #define AL_RX_LOCK_INIT(_sc) mtx_init(&((_sc)->if_rx_lock), "ALRXL", "ALRXL", MTX_DEF) #define AL_RX_LOCK(_sc) mtx_lock(&((_sc)->if_rx_lock)) #define AL_RX_UNLOCK(_sc) mtx_unlock(&((_sc)->if_rx_lock)) @@ -256,7 +254,7 @@ static driver_t al_driver = { sizeof(struct al_eth_adapter), }; -DRIVER_MODULE(al, pci, al_driver, al_devclass, 0, 0); +DRIVER_MODULE(al, pci, al_driver, 0, 0); DRIVER_MODULE(miibus, al, miibus_driver, 0, 0); static int