From nobody Fri May 6 22:43:20 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 E8B221AB9139; Fri, 6 May 2022 22:43:21 +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 4Kw5FN6Xlyz3vkW; Fri, 6 May 2022 22:43:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877001; 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=V3pCQZflnzthJOclbEbArayplj0kqJk2OE/1BpRMnsA=; b=v0NyHZ4xVdUjBOaaBWI6DcKL9l4a+usHmEB3PThOv7LxCuzEpEYVOQp2kYW2mMhl5emrSk tLtbX50k2zwf1n/kZ/24v3bsZA7biomxbt94QU8adF3Yu/DtZ4KRKzdtLGxWtgQNdYv2VZ ZCCOCmnJl18scWs7gyutuKizlc1XHCVwdexnJH/RLy9Ke/bMB2M/Y99/z9qwMX69jemmz+ YQvvtBe38E5ks+IbJx96STj3zgI/lStiOc1eEeT0uKi2Jx7xNi9qU8om5vsBiCXw3h/KgI eIcf+4v9IiA4QfQqDhU463bTov+2HmV92o6iYB5qC1N1fFkwMwCciYJ2IrUCWQ== 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 B27B324640; Fri, 6 May 2022 22:43:20 +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 246MhKZU019557; Fri, 6 May 2022 22:43:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246MhKuq019556; Fri, 6 May 2022 22:43:20 GMT (envelope-from git) Date: Fri, 6 May 2022 22:43:20 GMT Message-Id: <202205062243.246MhKuq019556@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: 6f70f80c7525 - main - gem: 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: 6f70f80c752524e92fde19d9029f8fd73b68693c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877001; 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=V3pCQZflnzthJOclbEbArayplj0kqJk2OE/1BpRMnsA=; b=RsDtlCMIurjFXjhGpiLg4SmVdOSUOQbm7jFze6AjJk7/iOYYiNdhw2tsRQYsCeu4E83vr2 eKXocfasaF4hb5wuVvgRmMa6KWomTZmOnN4hyavCboPHVV0BMGhlqq+NBes8UvQ63M3WFa WDWlMrhdVTV4j5afrJuMPSImhELVnvIzWBExF0z5fqInDp9cmIs42rfOGCcidOv0p3K7bY KiZNcooZUUpQQ84PnC5DQgUp+jviZiDXyMxmFBdoBXwbQniNibvZPxpLPsewqrarOH2oVY DxsGYRqL9GwXrZues2MfrjDF2ap5+1BJhGVG6ZPxNOkRqzaU0fSkUFUHiUgUIQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651877001; a=rsa-sha256; cv=none; b=qupHzNqnFhJYwpP57z9oT/Wv61u0Zk04MqtKk/2unggZvHBcwey3CruBtPogMEICHUwJPE 1JmJgDLTY2tSYwuHc45HK6D7lHCkLkkN9FRzPzB4UoPzxP1Az66D/wf2++UIADtNvqHcfP 8II585qkxIXhQSfCLEjagG++2cWk0wpSEeBXYlJGrHBG51eGMa/LX1MaOTAnipYt76erNT 8nHeI46Q1goIlZzxhER3ebD30yaR1YjYijzXZBOPyD/PTRgQySsJgXv624XOKz+sk1/xA1 goBiWegvU/ONTbdEc4YPukywA8lqQn27saK7JdKqoCH/vIhQYAUovAg4YFPl1Q== 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=6f70f80c752524e92fde19d9029f8fd73b68693c commit 6f70f80c752524e92fde19d9029f8fd73b68693c Author: John Baldwin AuthorDate: 2022-04-19 21:16:31 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:39:30 +0000 gem: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/gem/if_gem.c | 1 - sys/dev/gem/if_gem_pci.c | 2 +- sys/dev/gem/if_gemvar.h | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/dev/gem/if_gem.c b/sys/dev/gem/if_gem.c index 9996c33ca161..7d6f7cc8e3b7 100644 --- a/sys/dev/gem/if_gem.c +++ b/sys/dev/gem/if_gem.c @@ -133,7 +133,6 @@ static void gem_tint(struct gem_softc *sc); static inline void gem_txkick(struct gem_softc *sc); static int gem_watchdog(struct gem_softc *sc); -devclass_t gem_devclass; DRIVER_MODULE(miibus, gem, miibus_driver, 0, 0); MODULE_DEPEND(gem, miibus, 1, 1, 1); diff --git a/sys/dev/gem/if_gem_pci.c b/sys/dev/gem/if_gem_pci.c index 1b20d9352a71..b9ac9e191a4b 100644 --- a/sys/dev/gem/if_gem_pci.c +++ b/sys/dev/gem/if_gem_pci.c @@ -114,7 +114,7 @@ static driver_t gem_pci_driver = { sizeof(struct gem_softc) }; -DRIVER_MODULE(gem, pci, gem_pci_driver, gem_devclass, 0, 0); +DRIVER_MODULE(gem, pci, gem_pci_driver, 0, 0); MODULE_PNP_INFO("W32:vendor/device", pci, gem, gem_pci_devlist, nitems(gem_pci_devlist) - 1); MODULE_DEPEND(gem, pci, 1, 1, 1); diff --git a/sys/dev/gem/if_gemvar.h b/sys/dev/gem/if_gemvar.h index a19f44be75e7..f83ba9505b65 100644 --- a/sys/dev/gem/if_gemvar.h +++ b/sys/dev/gem/if_gemvar.h @@ -263,8 +263,6 @@ do { \ #define GEM_LOCK_DESTROY(_sc) mtx_destroy(&(_sc)->sc_mtx) #ifdef _KERNEL -extern devclass_t gem_devclass; - int gem_attach(struct gem_softc *sc); void gem_detach(struct gem_softc *sc); void gem_intr(void *v);