Message ID | 20201126133607.3212484-5-lee.jones@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp151268ejs; Thu, 26 Nov 2020 05:37:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJwe6cOb4euta8rn7NzyGU6ZS68BZTk6yA4McP/EI7mdpkhexF8nBPRUqmUWF3hrQwjtAvxs X-Received: by 2002:a17:906:4154:: with SMTP id l20mr2612637ejk.96.1606397866575; Thu, 26 Nov 2020 05:37:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606397866; cv=none; d=google.com; s=arc-20160816; b=i7F+rMCCpy+77rYI1q3cbOtfyhFss/BsAvDJQEQcvyzuOgoYp7H4PsyZCExjB/hPL4 wvIdxUBMm1b9zy1zldkkOnleC8hnYookFAuQyV4lWLZEjlsba46b/u6HQ9pa0Ya9cRhI WJ3Dd1Ej02thHw1bN5G0Ov9tbCUhSzR/0C8njWwXSsYc0TwIWOR7LCbO/RQMYWNvYy6i iYRzqZ+5JAlGY9G/LpIzQWDYv6FJRV3zobkZKcjB0l23e6p+/S3HwqlC/Yy5ex833x/o lFqkURgunYWVjk3wf2KLlOrmcpjtILoiRHrS1+SdI6kq8DNHwqVRg8t5zTx8KIpuFjNN 5FIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YJZuOyPoke9O1aNcUMwMh4SJuqZZoxbP5+ZVqt4w+RI=; b=yfZSF3haoNXWvJaqhVxQGgMlmKk1u2NpWQJ78iNCf882mqk+0Yx6YoORR8UtXvKN3W TpXNkuwo1ko52Maka0vNTOST50Zh9mx7RXTBd6d5GaZtWrlQftcAHMw48m5iy/BmOA8h awrr+4ZZkohNQFcv/e6rfCt9r+TTo97VpcSpVCgGyKcahtCt9UX0Ao8g0KOj+sjR9Kh/ TS1ntPDWSE7hPBTqIwRogC6o16IdXre2KsgAFGMF7vKlz3dQZHqLdKCsoqGnegtzdEvf 9fAOjA1gOvKPLJwOSzlrgWXVfMNIij03S6py4exQYJ7qutYaaUJydDdLPDSJErSey5pm Qqqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X+JCQyhr; spf=pass (google.com: domain of linux-input-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-input-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-input-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t19si3080863eju.318.2020.11.26.05.37.46; Thu, 26 Nov 2020 05:37:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-input-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X+JCQyhr; spf=pass (google.com: domain of linux-input-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-input-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390467AbgKZNgU (ORCPT <rfc822;patch@linaro.org> + 1 other); Thu, 26 Nov 2020 08:36:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390327AbgKZNgT (ORCPT <rfc822;linux-input@vger.kernel.org>); Thu, 26 Nov 2020 08:36:19 -0500 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99011C0617A7 for <linux-input@vger.kernel.org>; Thu, 26 Nov 2020 05:36:19 -0800 (PST) Received: by mail-wm1-x343.google.com with SMTP id x22so2163133wmc.5 for <linux-input@vger.kernel.org>; Thu, 26 Nov 2020 05:36:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YJZuOyPoke9O1aNcUMwMh4SJuqZZoxbP5+ZVqt4w+RI=; b=X+JCQyhrfwOusPtMMbMFFQqy9G3DnrN0Apfg0toduxUQh7QrAPEpyOcrVwrW4GIGOf WZO3vAn7iAx/44TweVYH0J+J8iBHKESeAod+9TIG5Ol3Xr3Oey1B6tY21C5nhyjzJqEc GSRuryP7dGIjAzaTCsuaWDaDHUV8Px1plwRMkMwh6yZeI/EiLZ+rB1qVgPfozWIfdQ01 WX5/+bkNu2JwnKYrQijfM/RKsGURD370CI+TpX3yb0nuCi5Z4HDdgFqeM8qRNbSc1W/I vSHpIUrn6C0LaCRUj3lhTFyTlm5r2Mby3uov+qbe4t8u3uK2krXnEC37R7SGeZ6L1UIP zoOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YJZuOyPoke9O1aNcUMwMh4SJuqZZoxbP5+ZVqt4w+RI=; b=KZbx6Xfb0QqSXYMutP0CXLOUO+TlvyqOq8JCUZzwCtBQgz0HFQok3cCauG2Su6oIf/ aQcMjlXGMeMezOw/Tt7/HtUohyepxN23XmmWQRRFCLhti1pMEcQtEzyJcDZOSHK6a0Hm Y78ZGB/eTI8sTDUfyjUuc+8D8ET/O6ntl9pxwp9BtBEAaQz+w0nWaLOuVDdUj8CkOkxu Re6EYBtaocn7SZpL7jPqk038nQPLWsYuCMZEY1kqe6pft1ZM2SksY+kzmHblrrTvYvNd voXai+2ap/WO0QFs7mljzuM3PH8zMRlNhiZiiyuzLy0B64hYf7Wi2OlHviJFcdvDgtcw 51jA== X-Gm-Message-State: AOAM532UxhQCF0gQyWc55IY58r3i+gnOfWX4BNuFZuIOH7TL4zFkbtTV l06JMmAwBZguUuYG/fmLT8Y92rnq69wDM5L+ X-Received: by 2002:a7b:c19a:: with SMTP id y26mr3511199wmi.88.1606397778263; Thu, 26 Nov 2020 05:36:18 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id l3sm9056280wrr.89.2020.11.26.05.36.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:36:17 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Dmitry Torokhov <dmitry.torokhov@gmail.com>, Henrik Rydberg <rydberg@bitmath.org>, Benjamin Tissoires <benjamin.tissoires@gmail.com>, linux-input@vger.kernel.org Subject: [PATCH v2 4/4] input: touchscreen: surface3_spi: Remove set but unused variable 'timestamp' Date: Thu, 26 Nov 2020 13:36:07 +0000 Message-Id: <20201126133607.3212484-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201126133607.3212484-1-lee.jones@linaro.org> References: <20201126133607.3212484-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-input.vger.kernel.org> X-Mailing-List: linux-input@vger.kernel.org |
Series |
Rid W=1 issues from Input
|
expand
|
diff --git a/drivers/input/touchscreen/surface3_spi.c b/drivers/input/touchscreen/surface3_spi.c index 731454599fcee..1da23e5585a0d 100644 --- a/drivers/input/touchscreen/surface3_spi.c +++ b/drivers/input/touchscreen/surface3_spi.c @@ -94,9 +94,7 @@ static void surface3_spi_report_touch(struct surface3_ts_data *ts_data, static void surface3_spi_process_touch(struct surface3_ts_data *ts_data, u8 *data) { - u16 timestamp; unsigned int i; - timestamp = get_unaligned_le16(&data[15]); for (i = 0; i < 13; i++) { struct surface3_ts_data_finger *finger;
Fixes the following W=1 kernel build warning(s): drivers/input/touchscreen/surface3_spi.c: In function ‘surface3_spi_process_touch’: drivers/input/touchscreen/surface3_spi.c:97:6: warning: variable ‘timestamp’ set but not used [-Wunused-but-set-variable] Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: Henrik Rydberg <rydberg@bitmath.org> Cc: Benjamin Tissoires <benjamin.tissoires@gmail.com> Cc: linux-input@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/input/touchscreen/surface3_spi.c | 2 -- 1 file changed, 2 deletions(-) -- 2.25.1