Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp112386rdb; Thu, 1 Feb 2024 03:53:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IHBgKCa96t0ICqmSeWlrjdW4eGZQ9RDs5luWfa7p3HxiD2B7HL2ST4sg98ycIJ1Qeu4Z1EE X-Received: by 2002:a05:622a:598f:b0:42b:e7f2:bbef with SMTP id gb15-20020a05622a598f00b0042be7f2bbefmr6173639qtb.22.1706788413517; Thu, 01 Feb 2024 03:53:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706788413; cv=pass; d=google.com; s=arc-20160816; b=jngGWUAuI4QoCeDZ22NmKPpmT6ialQ2wgQi7XzJab74lODLQPSpVLVrXMi55L5fPo7 sNTsFs9EJqVlBAy0o9wH1lEsN2ng5lK4TuvXmVRqnQTW4KFfugCHPD3h8IC/7K9EUhgc EYe0rIOg+vl3uSu9XzcSBRxNGV0yquK5WKYleoMew/RrK9b6dfMFfls1K/QKJo52C3vl QY6JiMx/D23R+ULBOW8vbMNf7rJh7QXiJ1RzAdG9LwOnVbbq2MxzwqG3OzPziItaURgi PDd4e5DFMnPDADHcIYWgNKb1ethEUtAcnba9VUrrxoBD2+jT8jXKoUnwuF4P8uWHF1jk lfKQ== 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=2A3lnLYSz0yDliThdUpr5zLYQKQrlE0OopJDm193yCU=; fh=OrIr0Y8X8sDmCjSOpRqLgOdroUtjHFSe+xDTvjz7kTQ=; b=XPIj9aMboobH6WtEOL/YF+w53iWDY0gxL0/Sne0yMSlbdME+RDbFnL4I2XVaQTnxTJ 2co81yvc0spn+hSfiP4+VVnasZUr7EnOHZOCEo6cBTZdUl3zxne/dg7LP6KP5cZTjHxg FlyayAMxAaDl+Yo5DVDGCt/gGby1lrkeRTr18m3ElMv2+JlJu6h+4P5f+dXwLk25UpkP T6tQ/9rxhRwvSBRpaw354znWh0df4TbZK4yA4WYN1a03jSGSlWjNX+Z/0bS56M1yABTU 9IpGnGhViEId+So1ziskN/oOpj7NCP1tsADaMYvebDyyOv8WB01qH3FVVZhT6m/OWwRf eR3w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=I9R0iZ0P; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-48041-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48041-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; AJvYcCVOEDiph2/Jd7LwVPyKPXLZunlxA4eIPzIgUmYE7YlLGQaJ1lDwH7UuwE0/5Q3IMuFln7ZhjefB2AnJKb0z1q9wI+eDUM2CbJQKNLQVEg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h5-20020ac85845000000b0042bfdb76550si26020qth.169.2024.02.01.03.53.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 03:53:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48041-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=@kernel.org header.s=k20201202 header.b=I9R0iZ0P; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-48041-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48041-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 48F421C27947 for ; Thu, 1 Feb 2024 11:53:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AB28215D5BD; Thu, 1 Feb 2024 11:53:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="I9R0iZ0P" 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 D24DE15B995; Thu, 1 Feb 2024 11:53:24 +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=1706788404; cv=none; b=mmsI9yMVH2yKrwdwP3W+46iUZS8SBt1/rnLmUAWEIp5VUtXvcylyMhLt4WS8g0gQM7e+fb8oCPP62XWsyy+4tHhIFO3uIDyhS56hO5zh6J8mYDSHLWnko1uhdJWe4UZzYBjtt9mxpENoe69i9L+WvjSUIerkEib73JvU2dTDxQo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706788404; c=relaxed/simple; bh=lItx3fkUY4BWsDEsLhdSZpmfRs+Sv8dfzuA4Ayj4ctI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=V/q9mx0EuC9vUNPuMJjDvmFla5JgXRp3JhMRT+p3wCXE1XMiyIbTTYy1pwWTk9dj8htgEmsd2uFJUJw60UCDvtph1wptjyJFgxBbpwUMFcYQ/QiBv5kA06P9HMc0TiCujqUyYkkV2fqFTZJl7J+q9GNuCzdqf4NIhDtUWULOLFA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=I9R0iZ0P; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40DEFC433C7; Thu, 1 Feb 2024 11:53:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706788404; bh=lItx3fkUY4BWsDEsLhdSZpmfRs+Sv8dfzuA4Ayj4ctI=; h=From:To:Cc:Subject:Date:From; b=I9R0iZ0P9v2PJQqViWFvvI7RiJpHVYw+qes4Vr8AbbAZT4Qv1KnEdnolVKoxfDeUN +cvRpKBCvvBeNt/cLaACvKqUsnSZbdgxi12bslX/P22elU03USKO1TL/oHNfGOzgrn flKuk9vzvXIqkUiG5ohDcIvgyn9S31StPdMek8UhBP1TKVMdh9E9G9ltKTAHQk5u3+ DjxlV8t5r/r5ZmUzo7axix3WQ+5W7EHg1XyKCB2o3VMhkTcUk/S5yuGTyUI1LjrZ1W MF81wDSxKAHOuClFqnO/HlLYd+48zTXrUvoEbMAr8S1DXXfGDvwScKSjiTlDWdciZx ps3csnL0mxfsw== From: "Jiri Slaby (SUSE)" To: jikos@kernel.org Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" Subject: [PATCH 0/7] HID: unused struct members cleanup Date: Thu, 1 Feb 2024 12:53:13 +0100 Message-ID: <20240201115320.684-1-jirislaby@kernel.org> X-Mailer: git-send-email 2.43.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 Hi, the patches deal with unused members of structures as found by clang-struct. Sometimes even whole structures are removed. Jiri Slaby (SUSE) (7): HID: apple: remove unused members from struct apple_sc_backlight HID: wacom: remove unused hid_data::pressure HID: protect hid_device::bpf by CONFIG_HID_BPF HID: hid-lg3ff: remove unused struct lg3ff_device HID: hid-multitouch: remove unused mt_application::dev_time HID: hid-prodikeys: remove unused struct pcmidi_snd members HID: hid-prodikeys: remove struct pk_device drivers/hid/hid-apple.c | 1 - drivers/hid/hid-lg3ff.c | 4 -- drivers/hid/hid-multitouch.c | 1 - drivers/hid/hid-prodikeys.c | 115 ++++++++++++----------------------- drivers/hid/wacom_wac.h | 1 - include/linux/hid.h | 4 +- 6 files changed, 42 insertions(+), 84 deletions(-) -- 2.43.0