From nobody Wed Apr 06 23:46:21 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 D320D1A84189; Wed, 6 Apr 2022 23:46:22 +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 4KYh3x6ZkQz4Qys; Wed, 6 Apr 2022 23:46:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649288782; 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=5Weaou6HIuaJ2EzhPPWkwcdndafUBQ00DAeAXaLBNHM=; b=SSMWKK1squve5W4T+rYxDX+rOwQLmHR9B3uzqIpKoHhfduercfvSUDnmW1EuYs0u7jXaGX YC0Ma2Ar0HVrqy8lmbki0YjnvEOUXnYVeNahDRizkx/h00sV74MXKSr5n2jsZuCOURfbsD dxln3rOrEZvSDitS/voAoTuChBowp6VW4YfssTi+HvRaGSwrnhUTRgRcBCAbyhnEdvcbLV koZjpUqZTF0dLVOAp2I2K7BGf2mrselupZBA5v/P0lIyVqlHHgPTTjGSw7zGpN7KlOCwYI eeNzQuEyyRfd6dBbQcxhGIJsrFSn0Z46z/aiJXzWghLvztuyeUBkHIuUEbhWfA== 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 4A09324DF6; Wed, 6 Apr 2022 23:46:21 +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 236NkLt7009119; Wed, 6 Apr 2022 23:46:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 236NkLKr009118; Wed, 6 Apr 2022 23:46:21 GMT (envelope-from git) Date: Wed, 6 Apr 2022 23:46:21 GMT Message-Id: <202204062346.236NkLKr009118@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: 4dab99b93692 - main - ena: Remove unused variable. 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: 4dab99b936920cf0c8f3fcf63754985906714a40 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649288782; 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=5Weaou6HIuaJ2EzhPPWkwcdndafUBQ00DAeAXaLBNHM=; b=EYe2KzOZgW+bEiqcxZx/ctjteqN6ui4APB2S8UHqZwTYHUr4x1zrNCONjVz+iMDk91EdY8 yj/mPTm/yZ3Q6A/3NKKsm/uVwdaCGoTcnAoRKUGIcFJb4wV3z6r+Ti7d3Y4+XRVcKOdrSQ Ui/tvtnqNWMFDEziKLow7UiHQaSjQOEzy8BeIhzP0DtKOZSmqOay5loL0enwHz9Iqq/9Sg mcWaL0kGonX99syerxdA6U62Q5DJkFIZMk61w5iW7Vk8n3pAspLFqCIJPc6MYbEpgkTGT2 gZ1MTMoxjpl+nM8JvJ1YWBUfprKeziOhMXXwWc2LLjTxIH6YRHVQK9Z38F4XZw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649288782; a=rsa-sha256; cv=none; b=buoW778IlBWXMd2Ti48SqEQyX3JfQBUYTd2mlIr1y+tFK1cmsb+557AV8zXeFOl3fhOdfR 9slq7GZxTR+TkWdzmQNQu5uCIbNTBS2z0dc9T8Y8VAb0b0RNvjL9aXq/EMtjuR9NfK0Kua GL1iQ1UKCh6f74/wpzfq6EBfDsargOLG0rSRk+44RZnXdinC9Q4DyvH6EKbVm+1pXVxWYi Tf6AQ65VpIEvU9hzA4E7PzaxpSi0Hq+4kSMNwElzHDS43ROlszz7JEpfkVhxbYU3UhGxwP ntTwYUaGoqsBIKjAoyRrebxQYj4CFG6dEZDoTNJKfsLIB5NCj0PpuHZ974C33A== 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=4dab99b936920cf0c8f3fcf63754985906714a40 commit 4dab99b936920cf0c8f3fcf63754985906714a40 Author: John Baldwin AuthorDate: 2022-04-06 23:45:28 +0000 Commit: John Baldwin CommitDate: 2022-04-06 23:45:28 +0000 ena: Remove unused variable. --- sys/dev/ena/ena_netmap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/ena/ena_netmap.c b/sys/dev/ena/ena_netmap.c index 1525b1efd954..976e54e4525f 100644 --- a/sys/dev/ena/ena_netmap.c +++ b/sys/dev/ena/ena_netmap.c @@ -508,10 +508,8 @@ ena_netmap_copy_data(struct netmap_adapter *na, struct netmap_slot *slots, { struct netmap_slot *nm_slot; void *slot_vaddr; - uint16_t packet_size; uint16_t data_amount; - packet_size = 0; do { nm_slot = &slots[slot_index]; slot_vaddr = NMB(na, nm_slot);