From nobody Mon May 09 19:23:02 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 0E4A51AC2AFC; Mon, 9 May 2022 19:23:03 +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 4Kxrft6By2z3p9F; Mon, 9 May 2022 19:23:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124182; 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=c5moBrqUtpRMptYtZMM1fteqnLJzV/A27TTHnizgVNQ=; b=pyz7p9nJMh5gCTmBvq/WIybgQIbgTjyce9CFWRE6sGDb1PW07nVwAQ8hlZnS0bp8mLtA64 Zj2FB4gPdV5buA06ZEYFixLVcj1Lq5eSO6b2hxLkRuMjXNY30ohMMUte/scuNsT8pD+q4r cqj2JvYng7rWzt/TV+M5zF5Cs5xqyfWks3aXniBvEMgJDG3iVI8oB2zUVFGhNy4UxOLJwo 50XnxV/6gXXmbwpjVIChCRwUJ99ZhVSFvV1D0KGKEMFvGVBw0XfWdM9VdmbtKLT8ECHv0f 9Np++PeFYqyMFbVx8s3vKSejyyGahC/JeSUBOri0e08EOpvQ1hQqh3DsfUPqLg== 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 5BE3B17090; Mon, 9 May 2022 19:23:02 +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 249JN2h4085645; Mon, 9 May 2022 19:23:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249JN2vR085644; Mon, 9 May 2022 19:23:02 GMT (envelope-from git) Date: Mon, 9 May 2022 19:23:02 GMT Message-Id: <202205091923.249JN2vR085644@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: 8d1611432f42 - main - smbus smb: 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: 8d1611432f425a97714543af30379f6ad9ed4b7c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652124183; 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=c5moBrqUtpRMptYtZMM1fteqnLJzV/A27TTHnizgVNQ=; b=CUiAXJBoHsrvaQBM3DJXBgmDwflWAc3VucXCkx7UdrdM3fmVQsX8KHgW/Tr9LlIQh/GQ8x SNIdKVDObU1N5x9yhNX5YbSl6YLwYsw2AyFr5goLuHIOW4yijGj5F2d0mvGvW1WEO1SQLs 1nxfwJ8KcJ2XjNUv8v/z5/cltGznDBzpdjn0pn2HuruWRwkqv3cqSbrBu3esOZGNCZEM3h otZ0OhXbqNv0lLK12NCYsA4GlRECGHdrR6Z2Jc7rpQrP6UP1Ddg9UDZJobLSYtSQkosnU3 +Ne2YD2uali9T8cMHboVR7/ZbUJIUPrv+8+V3/gS9YwA8Yj0H3QXUsu29IJUSw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652124183; a=rsa-sha256; cv=none; b=pjM5J0BKP8ccRpDMJKHMDxwTZqfytMlqfQ9SkW5kgyMBMGJQ0zFiBhdlect81oPDG6jwlr EM4klSY1BV6EXX+oeznPCLujs4u2sSHwzxHhM27U7eUudK9dhBMWR+w8G+hH/qS8ZmKBaR TIZf7Y+79xTk2RuinPYEN0+sPoLM9N2MT5l9hr7bhpn6zmOm0zVc5uGKVTTchVjWJ2cmT9 tGvwqHav9M8uQl+OEGIYJNAFbzXEtvtEAPiY8aqL97T3/lLQROfAKUuJA0e1zjtRniWrmM Kxx9SvrtQjHY2QLpUmFirWIsMTJlWFxL1y50lFRvUCyIj0yJJoEGZaYvG2Bjow== 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=8d1611432f425a97714543af30379f6ad9ed4b7c commit 8d1611432f425a97714543af30379f6ad9ed4b7c Author: John Baldwin AuthorDate: 2022-05-09 19:22:02 +0000 Commit: John Baldwin CommitDate: 2022-05-09 19:22:02 +0000 smbus smb: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/smbus/smb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/smbus/smb.c b/sys/dev/smbus/smb.c index b9916dd29a7f..70a9fe561883 100644 --- a/sys/dev/smbus/smb.c +++ b/sys/dev/smbus/smb.c @@ -57,8 +57,6 @@ static int smb_probe(device_t); static int smb_attach(device_t); static int smb_detach(device_t); -static devclass_t smb_devclass; - static device_method_t smb_methods[] = { /* device interface */ DEVMETHOD(device_identify, smb_identify), @@ -277,6 +275,6 @@ smbioctl(struct cdev *dev, u_long cmd, caddr_t data, int flags, struct thread *t return (error); } -DRIVER_MODULE(smb, smbus, smb_driver, smb_devclass, 0, 0); +DRIVER_MODULE(smb, smbus, smb_driver, 0, 0); MODULE_DEPEND(smb, smbus, SMBUS_MINVER, SMBUS_PREFVER, SMBUS_MAXVER); MODULE_VERSION(smb, 1);