From nobody Fri May 06 22:43:01 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 E6D571AB8374; Fri, 6 May 2022 22:43:01 +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 4Kw5F12xzZz3vV9; Fri, 6 May 2022 22:43:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651876981; 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=z+9qm7miNJDvo7OqEkCtkzxia+uDX+UjWmtbYUFwW9Q=; b=EUDM2BmeIwtmE1IhSb2LaqW19LOWC7T9AeCJrwfFMTUvnjLMIZHj4fROyuC3RDIWhnFbHI HdNN5l14Tkf8jjQSDgK9GzIpAvimz1lv4XyQ76BfMzPvVNA7kMDEnOYby3R9cNXd54K3W0 hNyki+nEPuD49cpyxiuhlePBnVMLioPBH4SDukrdSIrITOAn/AfflAu5i/RykFAIBy6G9j QNHChemJIsYwFxZblHdcIe3+MXvPXnVHK0oHrFst+v7UmgwCgaDQb32dTvgkhaS2w8Tkle fdnEVzxADsfsUUprJ8pUukMNwc3CrUY2qANdVInWbr4WxGfAyG0piF9jjoumYg== 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 1A17324B07; Fri, 6 May 2022 22:43:01 +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 246Mh1tp019131; Fri, 6 May 2022 22:43:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246Mh1hL019130; Fri, 6 May 2022 22:43:01 GMT (envelope-from git) Date: Fri, 6 May 2022 22:43:01 GMT Message-Id: <202205062243.246Mh1hL019130@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: cf80fdefcafd - main - ale: Remove unused devclass argument 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: cf80fdefcafd1a48a7fef8e580f20f9843bbc3d2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651876981; 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=z+9qm7miNJDvo7OqEkCtkzxia+uDX+UjWmtbYUFwW9Q=; b=AG0W8D5Y9dSR335rlOygphOLEe99sNvNSEoSUtD9oQGxlO4yWpBO3RbJ2hSVMIcZwB9TK/ nbagnAbu3ZpvjAmaVFOKJE+iLOOyBPFkPxFMuQPOlPt7CUocpkSR+TscSoYzaV2snDCce0 krwCLV17Py6EwHwGlP3kVyqVQiCk54ijA5ovc0FB1fvMIHxcqijSFfSmapr3WwAVJt+23L JuxtM3kL9YWkrpwPIUYQlYepsAdm/BhasVYmWEDnCch+wcHFPAI67Gxyzpe4WXwmLJNlzc rUVOoXCZaX6UB2aIfjwZx2rZd7sQ0vhIxDsimsKlBw+8Dt5oscFSSJZX/WPmuA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651876981; a=rsa-sha256; cv=none; b=vesw/O4aHspNhXG9L+q7TpeGUvg366FyA1B6tJfIzX4ipky0gMXOd+zbtlxJ6KyaZBTIUA b9fg6pNORnTQcuPoBHPA3dF/OPScerdw40Rb1dOYW5i/iokqnZExdiFGo50UhgckEnZvM5 ivsXkXD2H0RIwhH22JzBgjCv8UsSo3Q4J0d0xhPF3UO+yzdd4sQAbfp0BEw60v0S6dAVEZ ElBrYiw2fR1k4lhRYzgImVFNCLGUCKSR5mwjEaFGAbHZnJzrzeg7SO0ehTrTtz1S3sHJdT Y00qWmkauVfK87N6u0CEOt65ZIGxVhCRegTN3IEbsKAtHMTZu+sP1k+o1D8DSQ== 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=cf80fdefcafd1a48a7fef8e580f20f9843bbc3d2 commit cf80fdefcafd1a48a7fef8e580f20f9843bbc3d2 Author: John Baldwin AuthorDate: 2022-04-19 20:43:56 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:39:29 +0000 ale: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/ale/if_ale.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/ale/if_ale.c b/sys/dev/ale/if_ale.c index 45ece1f7ce4d..f91a5af44be0 100644 --- a/sys/dev/ale/if_ale.c +++ b/sys/dev/ale/if_ale.c @@ -175,9 +175,7 @@ static driver_t ale_driver = { sizeof(struct ale_softc) }; -static devclass_t ale_devclass; - -DRIVER_MODULE(ale, pci, ale_driver, ale_devclass, NULL, NULL); +DRIVER_MODULE(ale, pci, ale_driver, NULL, NULL); MODULE_PNP_INFO("U16:vendor;U16:device;D:#", pci, ale, ale_devs, nitems(ale_devs)); DRIVER_MODULE(miibus, ale, miibus_driver, NULL, NULL);