Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp271151lqm; Tue, 30 Apr 2024 22:42:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWFUFluuHvQq1g/2S/fPgydqsB6qXDJNzB8fALk6m3JZJR9ZJLJB8fJOcjK5a4FCn5c0Ha+CnmtAkvfexTaGv7Ka725Uyi/p//i8Wp+Hw== X-Google-Smtp-Source: AGHT+IHdrzlf2dCNstg1+piJLxVCXarR97uXuxJ+WPz27hYmnTMGEDG2lilQyU3EdFqTl46THxgb X-Received: by 2002:a05:620a:1790:b0:78d:6377:33a6 with SMTP id ay16-20020a05620a179000b0078d637733a6mr1724902qkb.66.1714542173166; Tue, 30 Apr 2024 22:42:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714542173; cv=pass; d=google.com; s=arc-20160816; b=g+3MUthO3DVJqYD99ZA6/go1weQOoKaIWtMSPqnd8V+zc77NCqDBAa0lCJXlCwkJMj BjhjbDK9URNPAo/GuR7N82M1MNLK4V2TvWFu1mXGWzcJK/Xmg+hdpgCbIyuvpD3VWP0u B14he2dZj8np8wSyA/O0QdmZjUB4L1FqwpU6Q60i52SXdQSE3U18gzCgOJjlbgouCArV 2v75HFvbGWz8EPoqswz8zxsPz+HEfeX4IgYR5G2Se+w1qpmr9JJUEx6+VPKgffEp1Fyf tc0c0ECSuLJEmc/jYjIXTcUzmxymalNjMXMg9WeOeIQw2cM/OGZ7mtP45WMM0nHDjyht XffQ== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=GrXhC34dkfPzEz4DZ6QAKxewlmGX1gPA1Hzs/EClZkY=; fh=UvIvorCy2UY0O6S4IA9AddpHMPl2crLKG2jvRdkPIkQ=; b=0i4hrYsqwGdxOr/P/q6Ju6Hvqc/Zmg236PicVa9EQ61XvTTATbBEGKqX2xhNzIEEYH tyqq/AaQ1GY697+htA4wDk7F7xciJa9hILPte+hF2GB92pwJ9k7mXdUvvz/O1LKpYLKv 2ppaLy3J+3Y5mYLdpgeHH4CmmdIPvm4dDfnhYrgUyjQFi8jCEosHw61CL0rVURqb3BWh 1HwRzbD1WzYFAmif7X6YdehUYXoDIjXFMBM/12NgAXlhZR5c2taFBk6gemG4iOkK45u9 RsdbQlmhAaosW63Tz/xptQYIVM+6xZWeLeAk/eZ52xAOJYsU2MVdW3jlBxPsGzszIf8s TEbA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b="jmps/2J9"; arc=pass (i=1 spf=pass spfdomain=wanadoo.fr dkim=pass dkdomain=wanadoo.fr dmarc=pass fromdomain=wanadoo.fr); spf=pass (google.com: domain of linux-kernel+bounces-164955-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164955-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=wanadoo.fr Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id u2-20020a05620a0c4200b0078f0ceb7eddsi34240473qki.327.2024.04.30.22.42.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 22:42:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164955-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b="jmps/2J9"; arc=pass (i=1 spf=pass spfdomain=wanadoo.fr dkim=pass dkdomain=wanadoo.fr dmarc=pass fromdomain=wanadoo.fr); spf=pass (google.com: domain of linux-kernel+bounces-164955-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164955-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=wanadoo.fr 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0F3FC1C2226D for ; Wed, 1 May 2024 05:42:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1EAF84B5AE; Wed, 1 May 2024 05:42:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b="jmps/2J9" Received: from msa.smtpout.orange.fr (msa-213.smtpout.orange.fr [193.252.23.213]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 33432210EE; Wed, 1 May 2024 05:42:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.252.23.213 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714542164; cv=none; b=k71h1l+Uy2uWYH7S8svrxuu6GAWy0b6OfQ4+pfpAGtzQa+QTkHviUrgXz2qBFXtjdtf6/84fBGs9BfpivZy2MVKNu/bVTW+JgoMG2pJkQMC2UAfkXxH8clMCbsfWdwF+/ftF4kN05wfk9WEeaDYfMOXDtgTigrBqKYYiMbkP3xs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714542164; c=relaxed/simple; bh=/bfHl25T1ErekIGpv7GqhWKjHMj3kURow4DUhvA1XuU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ucNSW4qncJMqo9XNqTrsPdAkGTZMgjxdXHIjWwIV65J8MhP+CZWhQeZv8WlHvDMG8ZxzN+gu2VfE3h+/vmhxzfujB6iktz9HFar/DjxZcoPQZI4V5+Cyqqx4KiGaU+11l30p0q6nl0t3l+n+jt+hFVPVvXucZ9xGGp+bi83p+eU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr; spf=pass smtp.mailfrom=wanadoo.fr; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b=jmps/2J9; arc=none smtp.client-ip=193.252.23.213 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wanadoo.fr Received: from localhost.localdomain ([86.243.17.157]) by smtp.orange.fr with ESMTPA id 22ihsnjwQ2DIx22ihsslTp; Wed, 01 May 2024 07:41:31 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1714542091; bh=GrXhC34dkfPzEz4DZ6QAKxewlmGX1gPA1Hzs/EClZkY=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=jmps/2J9fr/NqaIQGN8fIXN4GY6Y7XSLJhVlkhDNSleMCucp7sEJ6y6HJDl/iVzIj hVOctkISIgjfIQPd4omQ79rR2TcrT44uFA+9vMMP+qnitfKLU8f0Lk/DkLME6LRWkR ySms2KPSQ143zHxwabp3cQcg/hnxBtneRz1uCbP+q21iCEd86c/X0SLcgjN+Q+PFgX BhvSRVtyzztWL0L+iMnlXhh9DC8eBPIQ1EVVptMF6t7xFFNq0/HyKiw9bCTyocDTFA rVWaBI1gqB1gCNBaJ2Q7LI5eFnSSiwdYFM/GvP8ZhrkwLhM1bFYzq+iaPyCBuq9Tz/ Eo9ZJgrsSqYlw== X-ME-Helo: localhost.localdomain X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Wed, 01 May 2024 07:41:31 +0200 X-ME-IP: 86.243.17.157 From: Christophe JAILLET To: Dmitry Torokhov Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , linux-input@vger.kernel.org Subject: [PATCH] Input: matrix_keypad - Remove an unused field in struct matrix_keypad Date: Wed, 1 May 2024 07:41:21 +0200 Message-ID: <4f1a946789445500b6118b9ee1d6ef5255f8c696.1714542052.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In "struct matrix_keypad", the 'gpio_all_disabled' field is unused. Remove it. Found with cppcheck, unusedStructMember. Signed-off-by: Christophe JAILLET --- Compile tested only. It was added in commit fb76dd10b911 ("Input: matrix_keypad - add support for clustered irq") and its users were removed in commit 8cf4b3683a71 ("Input: matrix_keypad - consolidate handling of clustered interrupt"). --- drivers/input/keyboard/matrix_keypad.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/keyboard/matrix_keypad.c b/drivers/input/keyboard/matrix_keypad.c index 695c03e075b5..7a56f3d3aacd 100644 --- a/drivers/input/keyboard/matrix_keypad.c +++ b/drivers/input/keyboard/matrix_keypad.c @@ -37,7 +37,6 @@ struct matrix_keypad { spinlock_t lock; bool scan_pending; bool stopped; - bool gpio_all_disabled; }; /* -- 2.44.0