From nobody Tue May 10 17:36:40 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 15B9C1AD1551; Tue, 10 May 2022 17:36:41 +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 4KyQFh51J1z4hws; Tue, 10 May 2022 17:36:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204201; 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=ti0hlsMlq68/0lbk/hElI1tfxJR38RMkOGl9YFv4o4w=; b=aLygeOEW8f2fq0gJKT6BlyF/TM4Amf681DkGfFaI0vbCjIoX37aU1HDySqZPw3lsOmAFgS gKCiImOq8+xv3vz9ykGRN+ZtASpSIPICNadVu/iK/bobTfbKNM3SfexcvjQxL7/tLnlnEH IEJPWMHmPOx9GJg1BbTC4L1G5qAJ8vh6owB091UGc7LIgvRpC0pogp1Cc2EqH2x6OPnov9 TXbL0QhTwsLqb2Usw6D0tL9yBKAeRLXiWkVUyYxZnc7nxvdmjKQuZ+e+Md5URCF7glp2yh amhCwhleWq7mkwyrq5/+OdRxNxIUuPLIZLGtbf6EUZMV+qQi9NRIcadjgjJCjg== 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 7E0ED1C0E; Tue, 10 May 2022 17:36:40 +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 24AHaeNx099406; Tue, 10 May 2022 17:36:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24AHaemu099405; Tue, 10 May 2022 17:36:40 GMT (envelope-from git) Date: Tue, 10 May 2022 17:36:40 GMT Message-Id: <202205101736.24AHaemu099405@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: da21fd61c3b2 - main - gxemul: Remove unused devclass arguments 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: da21fd61c3b2a26c5f1d51a139ebe7b395007455 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204200; 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=ti0hlsMlq68/0lbk/hElI1tfxJR38RMkOGl9YFv4o4w=; b=EPqKmK74hFaem5jzo2vrSI74+yFHofIMIax5bRWB1SnJXJCYBhgY4c9Z+y4OgO3efyfne4 PwciB+HXvggJTEHySNYOLleKYmUgw9DHRSo6YbxR9ESTD8cZUmXDbFrIk+AxK94yJrlZbl 7gf4F3IY1/+wmVmti1/7eAb+vTn4wPvxBMd3gCj0x/ErCDdbiAGk+B8Ak0ekiXncziloUP m3P8OXVozdbCu/A4gSvbk4JXALN57sphojjoNRYdkR8HI2HrfUwImtyoWmokxktGGcH6FQ Wp5m2P1/q1doYcqxvEcs/ApwPY4Mph4yNsrWazosyizBXM7S9v74/10oyNBV2w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652204200; a=rsa-sha256; cv=none; b=mntdi41oXQvm/mjpTn4yfmYFyAhmQ1JtVM00fwvrPELTv5UVzJbSgMulhHIjnG7ntz2lQk vDTV9TxrsNoA3IwAHLH2/iSWlTObCSQZZkjd285unlJyH2wGNMFFGkinsSks1dIdgmvkx2 Xz7YgPmJSh/3RzrJK+XEY04yp0FQbS4aZ37+Gi0OS4Snuz5TYvly1SJ//fcOFcFlssFL5p h/QbTSI2cmFlr55hjiaZ7jZIl21gxBPe0ZVdbmUCYlATjzAtFbb0bCEDGCTmbBQi+8OBBe Q8nfoLkDV42lqMqUwdfFZB9WOgpPY9GiXmqILYZpV/38pkQTMzERlCXe/cXPDw== 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=da21fd61c3b2a26c5f1d51a139ebe7b395007455 commit da21fd61c3b2a26c5f1d51a139ebe7b395007455 Author: John Baldwin AuthorDate: 2022-05-10 17:21:39 +0000 Commit: John Baldwin CommitDate: 2022-05-10 17:21:39 +0000 gxemul: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/gxemul/disk/gxemul_disk.c | 3 +-- sys/dev/gxemul/ether/if_gx.c | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/sys/dev/gxemul/disk/gxemul_disk.c b/sys/dev/gxemul/disk/gxemul_disk.c index d306e2bf53c5..b53beb6492d1 100644 --- a/sys/dev/gxemul/disk/gxemul_disk.c +++ b/sys/dev/gxemul/disk/gxemul_disk.c @@ -328,5 +328,4 @@ static driver_t gxemul_disk_driver = { sizeof (struct gxemul_disk_softc) }; -static devclass_t gxemul_disk_devclass; -DRIVER_MODULE(gxemul_disk, nexus, gxemul_disk_driver, gxemul_disk_devclass, 0, 0); +DRIVER_MODULE(gxemul_disk, nexus, gxemul_disk_driver, 0, 0); diff --git a/sys/dev/gxemul/ether/if_gx.c b/sys/dev/gxemul/ether/if_gx.c index 7e2493dba1a6..e7bb927fd674 100644 --- a/sys/dev/gxemul/ether/if_gx.c +++ b/sys/dev/gxemul/ether/if_gx.c @@ -109,9 +109,7 @@ static driver_t gx_driver = { sizeof (struct gx_softc), }; -static devclass_t gx_devclass; - -DRIVER_MODULE(gx, nexus, gx_driver, gx_devclass, 0, 0); +DRIVER_MODULE(gx, nexus, gx_driver, 0, 0); static void gx_identify(driver_t *drv, device_t parent)