From nobody Fri May 06 22:43:04 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 1F9621AB87C6; Fri, 6 May 2022 22:43:07 +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 4Kw5F50mSDz3vgm; Fri, 6 May 2022 22:43:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651876985; 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=8zyqIqjWcY9ln135Bc9M8dx7J4BHKGJqjcftHe5oGcA=; b=blIi3ZlgY9jlT5Sgy0V1zS6ZK9v6qH/AOBZnvxgaD3LVGl8qSERhAwjL0UbiYjZJUoMJ4z qZXVsP+efUXFlqRFtRnsLiNpWnvn32r3OmokNnGCcbvruwHPe/0BfqYuI8zLdUlXTYhnTK F0A63MujSCTHdD+PEp83F9KwkydyZzLJJFp2Gic/vgdmKOAlVA1QI1KoFr08wqjkXn6OIA VTDWgk9jKlr9F2W3SK4Fi+HR97Ve47wIQTlOJrcwcU2OlUtperRSxvn16qCvrcKMoV5/Hl 5hnHJxAvReJHtRjUi6kbx0vEMCAKKOcbqgF02Z/Pdnsw7i5xLVl0a3sGwYSNpQ== 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 8D44224AE9; Fri, 6 May 2022 22:43:04 +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 246Mh4AM019205; Fri, 6 May 2022 22:43:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246Mh4FF019204; Fri, 6 May 2022 22:43:04 GMT (envelope-from git) Date: Fri, 6 May 2022 22:43:04 GMT Message-Id: <202205062243.246Mh4FF019204@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: 7e8e6125ab38 - main - bce: 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: 7e8e6125ab382522531f7dbb2fc643660f6aa768 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651876985; 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=8zyqIqjWcY9ln135Bc9M8dx7J4BHKGJqjcftHe5oGcA=; b=mce1sWYRrjdCLjoiZq+elf+dLRqtbDOLswxvsNjp0BXaWZ2mHhYrpi1MPYk8DlSYG0mkpV 2eyR9wdFVlu8iM2ZzWmQmT0T6X60V6ONdKpKyp6hB3P649ftAcRXl0ulQwI8dnjKao65Py 0i/p5WwlcxYcCB3g29JpIEAcn0fDrm/0AjCD5UQG2wijG48ba/AXqx1bsABW/n8XVsIbLB A7ncOtCifn4gxP3dQvR73HsGvpOhi7uiwx7sEHMVjgIuDQoSWaFDcPeaVwXDIt3siSvZ+N 5+2PaFxMhlOKGw4O8x4RAmtk4L2nbSif0rfD3RQDy1CGx/QMr9ATiS8TjE0UkA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651876985; a=rsa-sha256; cv=none; b=WKa29mUndV5kLBqz8zx1TzKfS3U4ejDSnlEQ3B+5/noySGMTlSJH+Pqsj7tl5CMy62YpRX uqXkHUi89l2htRrk82kFyTmnExF53860oMfju0QgWFGYnfvzjGOUBKsHbM8Gxt3AeCthoe rezjC/h0rxSSgMJATb70bMJcRyt5l1W4N1vTKUiFOXI5h2nJ6Wuy41GacgKLD5yJEQhU3u oXy7h7G4bFh0ehB6YOVSrVktVxiTr5/qYgxCfIAr0JIte+wXwv2G56oRb/gifzW6MijrcA TzD0NusROJ9BePVE836GaF3SX/pmxmc7F2QNd1gteBrZADJNCmEam2rmLWFaWw== 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=7e8e6125ab382522531f7dbb2fc643660f6aa768 commit 7e8e6125ab382522531f7dbb2fc643660f6aa768 Author: John Baldwin AuthorDate: 2022-04-19 21:01:36 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:39:29 +0000 bce: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/bce/if_bce.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/bce/if_bce.c b/sys/dev/bce/if_bce.c index dc55e8fa404d..fa969571636b 100644 --- a/sys/dev/bce/if_bce.c +++ b/sys/dev/bce/if_bce.c @@ -515,13 +515,11 @@ static driver_t bce_driver = { sizeof(struct bce_softc) }; -static devclass_t bce_devclass; - MODULE_DEPEND(bce, pci, 1, 1, 1); MODULE_DEPEND(bce, ether, 1, 1, 1); MODULE_DEPEND(bce, miibus, 1, 1, 1); -DRIVER_MODULE(bce, pci, bce_driver, bce_devclass, NULL, NULL); +DRIVER_MODULE(bce, pci, bce_driver, NULL, NULL); DRIVER_MODULE(miibus, bce, miibus_driver, NULL, NULL); MODULE_PNP_INFO("U16:vendor;U16:device;U16:#;U16:#;D:#", pci, bce, bce_devs, nitems(bce_devs) - 1);