Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp112819rdb; Thu, 1 Feb 2024 03:54:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IHFkQ0oikl5AIiFq0nkGboqbXujmOVONzuPqCm86BuudNCPYU6A/glAATYyFlXJrof73WXh X-Received: by 2002:a17:903:1104:b0:1d7:7764:36a4 with SMTP id n4-20020a170903110400b001d7776436a4mr5116791plh.36.1706788471048; Thu, 01 Feb 2024 03:54:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706788471; cv=pass; d=google.com; s=arc-20160816; b=b7ARbr0r6JEU1LlqICIBsIYiS5qoDem0MQ+LCViPrzv0/nr5DHveyXJFRPgnTMdqqI DC/kAQB6PLg/V1NanK8+UXF2MkVWgxuALiqLqRQ36gvgxmxUP+XrbDJ1Q1VY30x55LCY ifmUpriSd7BYYzbXRHg8fR3XdFLg/HNzXVXNumFyrjj9EuOGrd9hqRL0MwWOkW66d7H+ yuIJtrNLk+kHajcnbwco1PDHbrQ0r+yM1nCI5PoSxFwWSFMoptb9adL/1bMOntNXJJBj 9eIo3hRfNXp0tqBi5miVNmgq8JS4I0hh8zWqRUOTZmtM6ONQzx5rGC3o8B1DU8fLt763 O3Og== 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=/OUFhvxLDy9CVfChJBDs5z6+oxdgHXKA/xcKnPYcL/8=; fh=fyMX3ehKZeUna2AbTqyfKik3aD+hRqXzOjKdUXVGaVA=; b=CfaWzacQv6nZElmubyEsv/906YcV8wmK+99oKBPC856hzgY+v8vY8IGpyI48e64YfY okfgI2AYejPL9xOR8JMepC19i4bVcLuwTPl5js2b4zxyk3pDgNyGcCP9T0SLaKA2NNwo aQXKCGou+U7olfKxV0+/6w+ow+6CNYSlxqRFQB1OBUman+a8nZoThnIq4/J12KFFGB0u Zb0JLfgLJwLFWwG4HEOWvHWZqoy1CdWPBhbnhaK/sSdm0NHwQsynPgVSFGc+ht1hnwMI npXPTe97qgkyNfWqjSaVbQn/9L+o8P0EqhWQ3gS3CRs8omCU0p4bpJR+JmafEAVcf2uB BVoA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Hyig5QNm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-48045-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48045-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCVTmwrbNa75EWku6bnbHSffpevWfuUlJh4dC5Sl6DwJgWueQ3hmfBucUgDnueYTYcmeuLChqV5MRZ0NnfXxlcJgEoQPbSZ18Ir1z3UMrQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id f18-20020a170902ce9200b001d8e974ed31si7518453plg.623.2024.02.01.03.54.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 03:54:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48045-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Hyig5QNm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-48045-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48045-linux.lists.archive=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 sv.mirrors.kernel.org (Postfix) with ESMTPS id AD538283CE7 for ; Thu, 1 Feb 2024 11:54:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 74EDC15F32C; Thu, 1 Feb 2024 11:53:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Hyig5QNm" 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 978D115F313; Thu, 1 Feb 2024 11:53:32 +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=1706788412; cv=none; b=Lm5Pivo5Dc4Y5mY8ZfEQvcRPRUSbWkcTyentAWnr/YHmL8it8D3/P7u5QXoNYdweh2nbW5Y+bm2KmXdZR2KBVreWGxfJ+ZDvL1JPRLC/m3qErO2/X5Cgc0kgaB/05F1MlQAtwFrVQUKSKIYcFq1mVqRPQbrVzZ4yVlgxwopYTwc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706788412; c=relaxed/simple; bh=+uVdvJGsc8lGb6YyNtoRve9i5Z0FqJFy9u1zLI/NIAg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tvO1xjtSomZHHi3CHiCzG+mvpPFx43d1xohbFWSRkwy1WaeL3tVqzWSCM5xzPf0PfCKUjy1mtuuZOhM9N/sdxE+ut+DGpcTtuckXQtkQN8tlhvb98T6L/tjHqoywGv+evimDbgddidZ1I6Fn0uRzz5LxqZ9LjS+MCcD7eyN2As8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Hyig5QNm; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A441CC43399; Thu, 1 Feb 2024 11:53:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706788412; bh=+uVdvJGsc8lGb6YyNtoRve9i5Z0FqJFy9u1zLI/NIAg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Hyig5QNmLrPTECu94ugQSjEwP01vifZIkEi9RiqpwxC+MlWfnD6EqvT00Qr5Gnw1G ReR+GN9u3Kr0tZj+OQ8t8cY+92ctBglpPzJRxqMBOJzwrxAjvcSkfTTH6vUv6P5c21 E3cspd+wUUQy70nTvdCwQVykgBJFHkb7oW5dcE7aCjdnp481BwYGuAfUewvNNqdH9M dGMuy/IhWsgJwRMuGkk6zwF8XF45b2Rnf8+jm9ZYAgYpsE8wNCM95vMTDNobKjC6Hv UZcOhYzw+fjA9UvwvPFmNBKdhwuofXPrcc3KhXCG7CiuoE6zX6b+qGMxMsvTQ2+Reu d2VtJ59ZJx9ow== From: "Jiri Slaby (SUSE)" To: jikos@kernel.org Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" , Gary Stein , Benjamin Tissoires Subject: [PATCH 4/7] HID: hid-lg3ff: remove unused struct lg3ff_device Date: Thu, 1 Feb 2024 12:53:17 +0100 Message-ID: <20240201115320.684-5-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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit struct lg3ff_device is present in the driver since its addition by commit 74f292ca8c7a (HID: add driver for the Logitech Flight System G940). But it was never used, remove it. Found by https://github.com/jirislaby/clang-struct. Signed-off-by: Jiri Slaby (SUSE) Cc: Gary Stein Cc: Jiri Kosina Cc: Benjamin Tissoires --- drivers/hid/hid-lg3ff.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/hid/hid-lg3ff.c b/drivers/hid/hid-lg3ff.c index b7e1949f3cf7..109735b89b7a 100644 --- a/drivers/hid/hid-lg3ff.c +++ b/drivers/hid/hid-lg3ff.c @@ -41,10 +41,6 @@ * I'm sure these are effects that I don't know enough about them */ -struct lg3ff_device { - struct hid_report *report; -}; - static int hid_lg3ff_play(struct input_dev *dev, void *data, struct ff_effect *effect) { -- 2.43.0