From nobody Fri May 6 22:43:14 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 6FCFA1AB8E47; Fri, 6 May 2022 22:43:16 +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 4Kw5FH3QHbz3vSn; Fri, 6 May 2022 22:43:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651876995; 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=mphL30bL2b8JguUNDe7HWt5zRTmArAApTHlhm5tZyro=; b=PVEa5ectTs6cawG0qG0ad5BGQdOZu2HV03yDpE6SBJtpfi/V62UmesZVN0mvKa11QJDaum LHw2bAY4MW79Ft71/dAG1XsCyH47Qeo2EpDsUD4E8z64etKvnPMqNeBit+3vczK6yqe9Gd l+LYZgTkrc/+NAmQ8xUs9spQsfq+Xpm2htGNRrlLHdaUZvzKguY8T97cSdBoz/HiTw6Qx0 llMcJtR23g8LhCTWelvTWto3jpTr/fkP5wRquSqHhv04CyQwUgp9/ydHIqliC2eK2RKkfj KtWBYJ1sg+xctqRHef2Lvt6psPyyxjNQUwBNmwkQlM/AbBqxFhRJQUzclEuAaA== 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 F191F24A23; Fri, 6 May 2022 22:43:14 +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 246MhEcQ019431; Fri, 6 May 2022 22:43:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246MhEDv019430; Fri, 6 May 2022 22:43:14 GMT (envelope-from git) Date: Fri, 6 May 2022 22:43:14 GMT Message-Id: <202205062243.246MhEDv019430@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: 9e0570547b26 - main - em/igb: Remove unused devclass arguments 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: 9e0570547b262edc193e293c0d0b5b18feb701ba Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651876995; 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=mphL30bL2b8JguUNDe7HWt5zRTmArAApTHlhm5tZyro=; b=q7V1sfI/s4dl/FKRXg1jtjLf9S9EsrgiWMN235J6n+AhSLa7ZyRFDuJtdTdwen6HyfZTng y9ryf4xGkE+zLiSwHhnJoaawJQjiZxjnL2VyEOjPTUjETLMXgVzg//l7E3Ai0G69Ee7LUD uz3AZcvQqoMty08wqvrViniZTC4dOXOrOZr8hgsvllK99RRezjHz1hX1xnmwlfLzTjtk37 a91zNpxXBhrsvb+pomdSc2x51Q5xsko1p/01pU3IxrS7aevdrbSO9mX7vvPRONu9PyCEoj 3VHrj+2OqsOQOJRLwmNz+lzPfpcPGV5hpdi9mmjd3OdXux7Kusk15+qZzkOgMA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651876995; a=rsa-sha256; cv=none; b=CQyWo/QjgvB/0ITF0UdFqK+HckQci9YDu8PIvfvk5eugjypOVP5ZQOU79EHy5R36BBoCd5 N8pFz3a/Y7wyhD009RqFOkZDK8DAU27OwCcXo3WZULrEDFBNcW5fI80UoqTeQW7C+5tXLy miKVULZgtfC/0TAOiqGLn+7qxj0SfBYcDDlJx3IGYYz1F1HuiEt+CJ4acUAob9WOBTZmNx z/KQ3SnyGXUK2JB109Fky35tL/X6s+MazIUTKd9mn3YnmaHHUCmZofLR+32nxJCxcL4p4b OxUqzF8FBQzIVG3W+Iwhw9uZAnz6/G5Kvy1To2NnotLwPr+3Wku125dO0hYNTw== 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=9e0570547b262edc193e293c0d0b5b18feb701ba commit 9e0570547b262edc193e293c0d0b5b18feb701ba Author: John Baldwin AuthorDate: 2022-04-19 21:13:29 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:39:29 +0000 em/igb: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/e1000/if_em.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index f9d3edbd59a6..bdb76d86995a 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -377,8 +377,7 @@ static driver_t em_driver = { "em", em_methods, sizeof(struct e1000_softc), }; -static devclass_t em_devclass; -DRIVER_MODULE(em, pci, em_driver, em_devclass, 0, 0); +DRIVER_MODULE(em, pci, em_driver, 0, 0); MODULE_DEPEND(em, pci, 1, 1, 1); MODULE_DEPEND(em, ether, 1, 1, 1); @@ -390,8 +389,7 @@ static driver_t igb_driver = { "igb", igb_methods, sizeof(struct e1000_softc), }; -static devclass_t igb_devclass; -DRIVER_MODULE(igb, pci, igb_driver, igb_devclass, 0, 0); +DRIVER_MODULE(igb, pci, igb_driver, 0, 0); MODULE_DEPEND(igb, pci, 1, 1, 1); MODULE_DEPEND(igb, ether, 1, 1, 1);