Message ID | 20240201115320.684-6-jirislaby@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-48046-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2719:b0:106:209c:c626 with SMTP id hl25csp92885dyb; Thu, 1 Feb 2024 03:55:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IF5ueOlnW/qnAKZgWHktINRma9P4dCQDUz6DQhugwlaqSYT6EJoQW1GAPOQfDh+sW71wLhX X-Received: by 2002:a17:906:3654:b0:a36:1ac:e1ed with SMTP id r20-20020a170906365400b00a3601ace1edmr3607023ejb.1.1706788502593; Thu, 01 Feb 2024 03:55:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706788502; cv=pass; d=google.com; s=arc-20160816; b=Z05AaDuqCyZDtmKqGYDu32+GkYvY1aO7BmFtYfhEUsXwupBNOhLJWzxAtGt4S5U4k7 683DdJLSK1SiwhmSKbxIDxUzkbur4/idwkQzCIuHGvf/3nybj4ZfxhnPdPzU5fL6gXGU CRKVC6vJ5/WVDd0WeIxBfhBQ880iL7IzLFf4hBMZ38Vz7ADBJcZ7qaU4MUA/CIpXOwyK 1Q87bNRmzve1GAXniQ05FiEgGC/5LD4B9RDLl8z7du7PQ0rqdm5YWjPonus5SHa1KDqx D4qh/CTSK9QUHI21WqvLI01Ncxdup8d6n6sINEGaC3jQhOs8K8apodwNBhVpI9VnUZhR kflQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=BYJ6C+mnYXgkQwPf0kjWKMnOHRMvZsWd8b/fWDGWbgI=; fh=PEmAns7MEty/8tv3CHehwzeGpOLPLIgCK+8pgFC1s5Y=; b=IoOR8ocyW0rRR6c5ivhAWbTNJOHAybLq2iMgbf15j6HIqlHwKtuNiEjbgrRJLom3M5 UoO04XF35NTf+AQ2LJstfXsy4su3aRfV3h/EudIoRfxFxaO7ii/2yQxfiih/dasROLSy HTPTkyP98Gfe4Z2m16nBEQyX/nu2crpFaSQSJR8V6a/CeLLqjRLIbCkj1fwNIV2ZRi6b sHiCRRe7vXS84qjtAgvlKfTyOlJLfTEOZMXAbKwAKn86dHTGnK4Z1zqtzxAmhsL7FfUe QCYrFdBGz82hdI/I8M88Vjf5cBuya6zT+nlTajfAZXIAqx/j/e3MXIoXopmL0kA+XzPL GNJw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Wiwtn9q+; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-48046-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48046-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCXPpIGDBfrjcKGJxR8JQrZgJBFFYtgUabYpIsU34ph64p/CSvwCv1T0GWkS2dKC+WHmBY/yTQBGs7LCbMFk0ylqrt377A== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id z12-20020a1709060acc00b00a35ae8b457bsi4218290ejf.249.2024.02.01.03.55.02 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 03:55:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48046-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Wiwtn9q+; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-48046-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48046-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 35C6F1F223A3 for <ouuuleilei@gmail.com>; Thu, 1 Feb 2024 11:55:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E492F16088E; Thu, 1 Feb 2024 11:53:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Wiwtn9q+" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3A74215F339; Thu, 1 Feb 2024 11:53:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706788414; cv=none; b=B6C8xo57lPbfoD8OEOpp7B2dptyiUg/BYvA05hDrjaqP8tjlDke/4h5ryFhPBOAbftAhIOBhrDPRj98nOUrTfhfLdr3fNTo4K+iTLJ7Vxi6GFHH9q374qTFc+FRWErPrED3l56DLVb3hy4AR/x2BM3v9mIsDmpygQwtWF/1BbrU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706788414; c=relaxed/simple; bh=xj3qUE/KEdqABtcoeVjEuTxwjoHowTvkvWDSQecj28k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FYfl3IxO8pe7yE6kFEJHUzZ4VLOsWypsu1geMzTdcwkk4lb1AwhoLJRekorAE224Jx1tmXxCIILc9Sl4i6xbL9ImVisccwe4Z9FvkJdQykZ3hoxmpj2QNR70tY8rYCGCJKd3Al33I5VXp8keHOt3G6df9PcyM4YoyMyQu7FhnEI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Wiwtn9q+; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 80F03C433C7; Thu, 1 Feb 2024 11:53:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706788413; bh=xj3qUE/KEdqABtcoeVjEuTxwjoHowTvkvWDSQecj28k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Wiwtn9q+tmDnGWBNvHwI9GkzNorSTByoJV/kLjOL+BVe/8qxuwfPSbJ1cNUiPZScK IBmSCSwBnCf/sUQ3KY78stSi3ZUuBfMnnePmWSlTg4GwjJbjIGLC6l9w0pmP3hc+we p7s4Zyvw77Z9xUQGf3EATRP951drJF5tXDleYWFjS9JA6rkB+hlq+ny4kVQ0Bj8ByE 4VPhGfvubGzQ7F1WQw9luY9u49QaY9IW7b4SIpVrph0kj5J7BOo8Exrz4h4lVztrk0 SXKbR2w27vOBccoaEXBoEo91nrF3qTsv2C+YOfBXKSPZ+J+Z55z1zhCPyPj1VbN5X8 UEBEkVWnwoIXg== From: "Jiri Slaby (SUSE)" <jirislaby@kernel.org> To: jikos@kernel.org Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" <jirislaby@kernel.org>, Benjamin Tissoires <benjamin.tissoires@redhat.com> Subject: [PATCH 5/7] HID: hid-multitouch: remove unused mt_application::dev_time Date: Thu, 1 Feb 2024 12:53:18 +0100 Message-ID: <20240201115320.684-6-jirislaby@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240201115320.684-1-jirislaby@kernel.org> References: <20240201115320.684-1-jirislaby@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789697461334537017 X-GMAIL-MSGID: 1789697461334537017 |
Series |
HID: unused struct members cleanup
|
|
Commit Message
Jiri Slaby
Feb. 1, 2024, 11:53 a.m. UTC
dev_time was moved to struct mt_application in commit f146d1c4d7ea (HID:
multitouch: Store per collection multitouch data), but is not used since
then. Remove it.
Found by https://github.com/jirislaby/clang-struct.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Jiri Kosina <jikos@kernel.org>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
---
drivers/hid/hid-multitouch.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c index fd5b0637dad6..40475c42b9f6 100644 --- a/drivers/hid/hid-multitouch.c +++ b/drivers/hid/hid-multitouch.c @@ -130,7 +130,6 @@ struct mt_application { * > 1 means hybrid (multitouch) protocol */ - __s32 dev_time; /* the scan time provided by the device */ unsigned long jiffies; /* the frame's jiffies */ int timestamp; /* the timestamp to be sent */ int prev_scantime; /* scantime reported previously */