From nobody Fri Jul 29 18:47:43 2022 X-Original-To: dev-commits-src-branches@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 4Lvc2m3Vbpz4Y1p8; Fri, 29 Jul 2022 18:47:44 +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 4Lvc2l37Fnz3qPB; Fri, 29 Jul 2022 18:47:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659120463; 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=/GsTCxp2cY07y1uZPRW8QV9b5OF5hGzunV0GVo6EpeM=; b=JxUlmGZVNeuM7NTngGtLUVmUjEJF0An5tHl+2BAZtfnG5T/C4P+PjnuJJJFF21GkeIp6Cl cvCn39aiqGqXyVg0Dg8xvLzGINLa3/2mtpADob+b234iAJOEx5151GK7OwO8MGHVmacU9I gvXmNSwT7v+9LSFGZq9DUoslhE5XXWGXP+/muVhFvbtHWFmi/Nyzi5qrzBkDz7lWw8Zguz MDEMjCXMKSnUHNxFn6jKwoxcgJI3IKm8KTNqA1zljrR4ANnP8P96zZnJedgkR6DDCizK5q TafFwxd0n3Chq+loMTbK1j9Z9oe0uy3HS4LirziwuMsGfHb32+IQbv8PNfC8XQ== 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 4Lvc2l2D2GzmB3; Fri, 29 Jul 2022 18:47:43 +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 26TIlh1I024472; Fri, 29 Jul 2022 18:47:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26TIlhh6024471; Fri, 29 Jul 2022 18:47:43 GMT (envelope-from git) Date: Fri, 29 Jul 2022 18:47:43 GMT Message-Id: <202207291847.26TIlhh6024471@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: 822f2c159054 - stable/13 - atp: Remove unused variable. List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 822f2c1590541fb64bec399d61124402d5b4dc03 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659120463; 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=/GsTCxp2cY07y1uZPRW8QV9b5OF5hGzunV0GVo6EpeM=; b=ElEdPi32+cuk2WssSx7CbEjAw1hz3yC6ifRA/g9AFlSMBTp4HY+B/wmvl2uusti3WEcL5V C5x4qSk1NO5GiW5ZP8albguA2z5g4X9j6naWegzmG6uQ1pnzsZsT9TQaRG1ZEzHqAcNpXK 43wfuKWN6HM6Q0WCgsIYWaGLhFDrQm8yeysQqKMil5c3avjPlwt3vRSDd/6x2+PPr8YYkU b//p2fxLK0OPa15fXbqTyCHjQvqLvkKhHwMtE4kutr0bXZX1eJMUNIAf24sNjrUZxqLC5x QYIelz+toVnNZo5lEHG1N/WqjU7KmNVtg8L0hmd7vNzlNyBrdjrAmg7mAZgMDw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659120463; a=rsa-sha256; cv=none; b=Kz9ku8Gdfzb2TucfzlVILprX8VDR9WW3fRcl9axcIfBMsnepUqvKuM/C62NTf3It+m0Q4e hRdog+y1Jk5HU3YAW2R1XgqRMBmjchq1aU+NET76Pccc9QilWhwXafOsiacn4dS2/7JEmY OmitKgNmprgRMqCigLgnWXb8Y7efdLZI4dJfXcokJLbEgqgLjTNGlARcz2uZ5/awpl8LEx OBF+2vrjBzPBeILwKK1DforAe7ZZq+lyuJ+0U/cblXzlVJUIdd/yfOUBJ8dMBUSALvfZWA Bioy1Cmd5pHv+S6xLnim4ioWBUaK46mYKthyIfAlw9zOJNIDYe/Gy1zC3inqzA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=822f2c1590541fb64bec399d61124402d5b4dc03 commit 822f2c1590541fb64bec399d61124402d5b4dc03 Author: John Baldwin AuthorDate: 2022-04-08 00:01:29 +0000 Commit: Dimitry Andric CommitDate: 2022-07-29 18:31:02 +0000 atp: Remove unused variable. (cherry picked from commit 197b9a2ef0037e02721fec27a707e34a4d06d2c6) --- sys/dev/usb/input/atp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/usb/input/atp.c b/sys/dev/usb/input/atp.c index 585afbaf1a1b..b76653cc303b 100644 --- a/sys/dev/usb/input/atp.c +++ b/sys/dev/usb/input/atp.c @@ -2017,7 +2017,6 @@ atp_reap_sibling_zombies(void *arg) u_int8_t n_horizontal_scrolls = 0; u_int8_t n_vertical_scrolls = 0; int horizontal_scroll = 0; - int vertical_scroll = 0; atp_stroke_t *strokep; atp_stroke_t *strokep_next; @@ -2037,7 +2036,6 @@ atp_reap_sibling_zombies(void *arg) horizontal_scroll += strokep->cum_movement_x; } else if (atp_is_vertical_scroll(strokep)) { n_vertical_scrolls++; - vertical_scroll += strokep->cum_movement_y; } }