From nobody Mon May 09 21:47:28 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 414B81AC8BE2; Mon, 9 May 2022 21:47:29 +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 4KxvsX5wB9z3GQl; Mon, 9 May 2022 21:47:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132849; 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=qubk1nZ9/TYqC3iAW9HNwCQk4IdeQilbyLBKaIz8lyA=; b=khH/Bv2GRQ4/s/TOd/xBK/boHyWdeSERvEqhpXT1MxQMjShH4iZoXPf/zpxY6SKUfHTEjb EY/kHPgh015TbVKKR0YrdfYv4DRPThbdxuwZAu3AksuojumI7EG9ye+stckTMepS09gPUc U7+yIszut8Gjdw3AH1czmcVZbUrlXZdd9PhHlb8QE3G8hXj6FgAIde5YGsp1HhPBa85MHf S//SGxyOpHTj5nS+3SqJSLnXaQMsI3t08SR4C5doUBG7TF5RAGJOpch19ls9i2pqXdktsp vN/zODX4NNhIFEggtqMvTL79yFFJ7+24l8I/ZujRzdOl7kMw7utRHRpnP2e14Q== 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 85DCD18CD3; Mon, 9 May 2022 21:47:28 +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 249LlSrH079693; Mon, 9 May 2022 21:47:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 249LlStZ079692; Mon, 9 May 2022 21:47:28 GMT (envelope-from git) Date: Mon, 9 May 2022 21:47:28 GMT Message-Id: <202205092147.249LlStZ079692@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: 12d9ce9d4daf - main - cp: 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: 12d9ce9d4daf7426c1be74d58007e7e7d6c83e97 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652132849; 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=qubk1nZ9/TYqC3iAW9HNwCQk4IdeQilbyLBKaIz8lyA=; b=Rb65imshmP8lkJ5OTXrhU4KEZ+C+zrOXALbMn7kwffE8lpjrC4F8C0yqKYTiUN/zdHGkJw xYaeDKIX6sHe2AKimg+lK4pLyvzf8FwiF6yPauPdMsGkJ1Ec3rpzSIier7n4VnjCTSReZW 4hCiCouSbRyGy8mNCJH05uhV39HTQmnE9HGw59dFr2zXW6smmN+TahHHa41u3813n6tBFE IyTGybr5cRJfd2FthyuOs76S2u+Dl+EYMa6ow/60pSAELyoRQIxjaD5GOFDzU9ygHio/Sm SUNkMmlgTSGhwzK36jJ4bUhdcnGn7dPJ+zmYHzE9rQxN8hR41LLDlJYEFASMsA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652132849; a=rsa-sha256; cv=none; b=cckwG9AekB2RTrspYxnud/bqfnesZYrgbqIm6sMX9YVc249JVbko8AaNoylmLQvAvmaXMD rkYX4SZfK4gxfvE4JGd0YJk0mfLHqaFeVjJEBNwFZcYkOAcd7VK+2qQKOLYPC/vuB5/VhR llkcLkx69oUsAlOkOPOq+Wk4TUKyUiBT4IoQrNhk2bIMTl4ycoZpGFWY24mFXetwhYqG2e VaHulfztmeuETXEl9bVfpKHh4KQWVx9meRMX2q5mTY1epgNyfnt1YiZ1Pc5HkpiQLgSB0J aaaRjPRF3pWXIZ2EPPzDPAEpAR4BmeJioxDqH6ohWjhj07zKXFDbwdrAoFYT6Q== 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=12d9ce9d4daf7426c1be74d58007e7e7d6c83e97 commit 12d9ce9d4daf7426c1be74d58007e7e7d6c83e97 Author: John Baldwin AuthorDate: 2022-05-09 21:26:43 +0000 Commit: John Baldwin CommitDate: 2022-05-09 21:26:43 +0000 cp: Remove unused devclass argument to DRIVER_MODULE. --- sys/dev/cp/if_cp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/cp/if_cp.c b/sys/dev/cp/if_cp.c index d2f7fa58b02f..3a5887427e36 100644 --- a/sys/dev/cp/if_cp.c +++ b/sys/dev/cp/if_cp.c @@ -119,8 +119,6 @@ static driver_t cp_driver = { sizeof(bdrv_t), }; -static devclass_t cp_devclass; - static void cp_receive (cp_chan_t *c, unsigned char *data, int len); static void cp_transmit (cp_chan_t *c, void *attachment, int len); static void cp_error (cp_chan_t *c, int data); @@ -1961,5 +1959,5 @@ static struct ng_type typestruct = { }; MODULE_DEPEND (ng_cp, netgraph, NG_ABI_VERSION, NG_ABI_VERSION, NG_ABI_VERSION); -DRIVER_MODULE (cp, pci, cp_driver, cp_devclass, cp_modevent, NULL); +DRIVER_MODULE (cp, pci, cp_driver, cp_modevent, NULL); MODULE_VERSION (cp, 1);