From nobody Tue May 10 17:36:51 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 E496F1AD1A63; Tue, 10 May 2022 17:36:52 +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 4KyQFw3D3tz4j7q; Tue, 10 May 2022 17:36:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204212; 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=Vyzxc8ILb1nUinUadtnvt1xU/JSKg5fZmrVgxOjPTjQ=; b=ZSaypc3gvvX8KTDWjpBRDKmnkMWh5/mrWi+9T+TqOydXxgXCzAWe4miuMA547kto0rHbmM ZkFwexqh5s+0+5J+u37fOnMcb9qZFJ9v9uA3cAS3KrlN76IjUrxFJxbaQ6fRbcPdh5Mh1q 05j5YUvquXTCkCjrZ7xyW44F6rluXFKMKTJni2isvy49rYgiYTWLvJe2k2aicUvTVYvMee +BUeiftWzMW3r0dCAyT7HJtzV4Z1y1HJBLqfl5xkeP7/Hd7cgv/ZCZAHiklKlhMH425sCV R6q+66cM4wdKg8JDTvw9Lkt2uHR8T4AW4fMuUU+8U5tfMxjhAiAhJmowscVWhw== 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 0CE661B38; Tue, 10 May 2022 17:36:52 +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 24AHap7D099658; Tue, 10 May 2022 17:36:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24AHap1T099657; Tue, 10 May 2022 17:36:51 GMT (envelope-from git) Date: Tue, 10 May 2022 17:36:51 GMT Message-Id: <202205101736.24AHap1T099657@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: 67eeba26829b - main - tsec: 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: 67eeba26829bd89709946d370f084694863096bc Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652204212; 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=Vyzxc8ILb1nUinUadtnvt1xU/JSKg5fZmrVgxOjPTjQ=; b=X5RDGiVt0aLuD3k5N2C1ayGyqIKfgdv5cx6M7QF3t/KhMr5Vfd/QWf9JZLeBZULTMWFVWp zSqX398Sq1rJsNovp/rrwIg6xoF1k9kkKj4k7NdoFllLq4yx2ytiPhXsIwcY9uWt3b030T lqhzcPVQm5Vwn8x/D9h3K1T3ds4nsYQ8pBPTr1MWpRz9LUfVdMysLhAILE36XuFk+Ux1La /mpkke+uoTS205hzW/1AAhFdffmeNHyVke9+lop7MKi7o2vzOcD/9fmmtGH4VYWaJuu0SA +ii/7RoM7uGg4BaXgnyl5hx740hEVbtF/MY9caOShQR/rOkGrOcRujrB7kpezw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652204212; a=rsa-sha256; cv=none; b=B85TQOE8nPo6sTvOR18hpx4sLGKmqIViTmpjnDghUb592wrbptvHhtR0S1O+0Uch61IcBT MuD9yRAQe0D2QhYy9rJO8Ziia8xKuVj7QUV+FlrIFZxRkOyTkjlAOlacrRR0vfxAZSo+ws G1uVU3EzT3GqfeiqUD6EV7a6a1q2YeYMgotR4XCP/hf8NFsRNvT6S4NOMoalkbF2OIyoKX XJJCbBmGrPHvdkBnMCkm8/7aWJDfD8/Jg15BG8nEvCzTzuQ4ZyoAXUid4ZGY8MZ3llaNxr ygSOXTd1LlrbbYLsOW2naPI33hxhy+XzZKgR9ufCa+sO0/CI9O8tUR3HeIUJeA== 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=67eeba26829bd89709946d370f084694863096bc commit 67eeba26829bd89709946d370f084694863096bc Author: John Baldwin AuthorDate: 2022-05-10 17:21:39 +0000 Commit: John Baldwin CommitDate: 2022-05-10 17:21:39 +0000 tsec: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/tsec/if_tsec.c | 1 - sys/dev/tsec/if_tsec.h | 2 -- sys/dev/tsec/if_tsec_fdt.c | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/dev/tsec/if_tsec.c b/sys/dev/tsec/if_tsec.c index e8db204f07bc..979c0c4e62cc 100644 --- a/sys/dev/tsec/if_tsec.c +++ b/sys/dev/tsec/if_tsec.c @@ -109,7 +109,6 @@ static void tsec_offload_process_frame(struct tsec_softc *sc, static void tsec_setup_multicast(struct tsec_softc *sc); static int tsec_set_mtu(struct tsec_softc *sc, unsigned int mtu); -devclass_t tsec_devclass; DRIVER_MODULE(miibus, tsec, miibus_driver, 0, 0); MODULE_DEPEND(tsec, ether, 1, 1, 1); MODULE_DEPEND(tsec, miibus, 1, 1, 1); diff --git a/sys/dev/tsec/if_tsec.h b/sys/dev/tsec/if_tsec.h index 19ad346c85f6..dbd8bb7a035b 100644 --- a/sys/dev/tsec/if_tsec.h +++ b/sys/dev/tsec/if_tsec.h @@ -290,8 +290,6 @@ struct tsec_rx_fcb { == (TSEC_RX_FCB_TCP_UDP_FOUND | TSEC_RX_FCB_TCP_UDP_CSUM)) /* Prototypes */ -extern devclass_t tsec_devclass; - int tsec_attach(struct tsec_softc *sc); int tsec_detach(struct tsec_softc *sc); diff --git a/sys/dev/tsec/if_tsec_fdt.c b/sys/dev/tsec/if_tsec_fdt.c index cfad15b533cf..6b85bd6c6ff6 100644 --- a/sys/dev/tsec/if_tsec_fdt.c +++ b/sys/dev/tsec/if_tsec_fdt.c @@ -102,7 +102,7 @@ static driver_t tsec_fdt_driver = { sizeof(struct tsec_softc), }; -DRIVER_MODULE(tsec, simplebus, tsec_fdt_driver, tsec_devclass, 0, 0); +DRIVER_MODULE(tsec, simplebus, tsec_fdt_driver, 0, 0); static int tsec_fdt_probe(device_t dev)