From nobody Fri May 06 23:25:22 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 9D6A91AD1541; Fri, 6 May 2022 23:25:23 +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 4Kw69v02Zsz3FLT; Fri, 6 May 2022 23:25:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879523; 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=J72ZxXrqcmfBiD19MLFS6N2984p953VSvNzDm2kB1XA=; b=fico4PQ+Y4KHQe94cx0/7e/499ZSLA3XOVZPF5Rsu7pon5nEHqNMxB4Lx2DeHz6IuIsyeU pPFT9rymr+84TyHDRL1+b3ntp94kFrmMthUR+18ksIYEgNx6aXxD1JT3s7Mr0YFY5TDrNR R83e7t+2ONHo5egeNlH/xThLRt3HXtZdnH5GGBGH9zde6ZU24uJRfj+Jmjg4gaH6yIzdMS batkVfsoaQmAy0OSzllJYGMcNsPG6009+V2RWeoBahEu+QTLAmMHkRlTMHAqU0VqzMqiMj 2kF59VuPMEgm3kQGZdQbB3kJqQuffILBYrLpF9tJGzKIAdyia4rDXctCAxqjBQ== 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 C13E925222; Fri, 6 May 2022 23:25:22 +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 246NPMJ7075797; Fri, 6 May 2022 23:25:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246NPMwK075796; Fri, 6 May 2022 23:25:22 GMT (envelope-from git) Date: Fri, 6 May 2022 23:25:22 GMT Message-Id: <202205062325.246NPMwK075796@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: b15b1fc19367 - main - bxe: 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: b15b1fc19367af5d1055fcf0a8d50adece878dad Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651879523; 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=J72ZxXrqcmfBiD19MLFS6N2984p953VSvNzDm2kB1XA=; b=eZbWKS+VA23sfr+ArqrC5HqkLjTJwJCDlTIeJONGcnhaC2y5sacRcG8z91YyWqvcIiRijR zR946lG6y/VQLoYyb0/kunkLwKO0LV2n32QpCvSphAhXD/dPpF63u2/J//HYNSmLKcIx/9 eap46a8bSi0tqPWVXsAYILy3do9zJe6E7SCq9m2HfylqQAzBWzZ9o6S43S2y0x+zHe9dri 524aAma3EwvOjMR9+ZDpFSoh0k6TFVcrqNVhcPqj8H0ctqv7uhgNy1p+knVljq9SrO88Sw c4EJid0P9z4r3turOpT+jf2WllFf0Gj+qOOwBmJYWLBXYkZwRHcv5hIqcLoQug== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651879523; a=rsa-sha256; cv=none; b=nFhNh9POpE1Tsop4FAA3j7P2Y+IGfAjqFaN7DjFkFakYMw81v2c97nLk+SPHE5+ny0jO4f 8ZzEnWUIpM83RkXZcNOTVfwBeH7k7JDMcNRF5t1VsgOnlrRy/Jt49acOQlIEqsRi6y+VZj r2Aj4jY+91LIKk9lSC7yS/ICz1UZf8Al4KerNGIXMGLZoPNRjEbbOydRk6CadR0m5+JuSl i4u8vAINHyOU2alDwRgVKXTfNl0OfpNBBSoGpjM4bl7PAbcLZWkAvaxpLtTEOzPpb45Z+X rgR2zwSz2MkqtYCwzEx8QfTTtM20BkbbfEZXzVtenJYKqMrRgxOF6eWuvdbpWw== 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=b15b1fc19367af5d1055fcf0a8d50adece878dad commit b15b1fc19367af5d1055fcf0a8d50adece878dad Author: John Baldwin AuthorDate: 2022-05-06 22:46:58 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:46:58 +0000 bxe: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/bxe/bxe.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sys/dev/bxe/bxe.c b/sys/dev/bxe/bxe.c index e30c217e63ea..08a47c38f139 100644 --- a/sys/dev/bxe/bxe.c +++ b/sys/dev/bxe/bxe.c @@ -219,15 +219,9 @@ static driver_t bxe_driver = { sizeof(struct bxe_softc) /* extra data */ }; -/* - * FreeBSD dev class is needed to manage dev instances and - * to associate with a bus type - */ -static devclass_t bxe_devclass; - MODULE_DEPEND(bxe, pci, 1, 1, 1); MODULE_DEPEND(bxe, ether, 1, 1, 1); -DRIVER_MODULE(bxe, pci, bxe_driver, bxe_devclass, 0, 0); +DRIVER_MODULE(bxe, pci, bxe_driver, 0, 0); DEBUGNET_DEFINE(bxe);