From mboxrd@z Thu Jan 1 00:00:00 1970 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 DEF02257AE7; Thu, 17 Apr 2025 18:25:58 +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=1744914359; cv=none; b=bSGQ90maNkhgyR7C897fyNyJOsTx0XlfqTaD+RxJxE+X20f5bBA0pjJ9rz3fmPGOUfgMGVdwLP8C970Ng+ldnhRLl4ZqES+CDMPoB2cRHGByuBamwOmuSMXl1Tur77Ya67Ai5qNTOd0mNLt0tXuvPPXPNrx1sVBcdDn8BAOYRM0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744914359; c=relaxed/simple; bh=f2hogrH2SJrLNBFWo0MLa+U5CzP2UMVOMTDQP1oG9FU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=K8gHmnlgfDZdMFnNkszkZ+3rNr03tt+wXH7ES068LETu6PYbroRMQ/3p888OKVzle8HMOP0T34nhfKhr1mB+sfBXC75Vf3kfAHqU7Deso/DwcEtJhQVhfKdIXpFFFdgOPE2ifIdYS6BXTNqxNBS0C7C6pTfyRayW8kINA/EWYH4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Egp/5W36; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Egp/5W36" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D141C4CEFD; Thu, 17 Apr 2025 18:25:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744914358; bh=f2hogrH2SJrLNBFWo0MLa+U5CzP2UMVOMTDQP1oG9FU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Egp/5W36DeO0+0RtzgrbofQ1lMNuRMlgiG7t1Purq30rlsTJtkZQc4VM17xVl+cvY y9VUzHdxupOUVxArdigaYCBJuX4QOybXWWYMUgIVxxmEGRtZsOLtnmBCRYw5EBHewF jWKpJVxkS7tobxb9REuxt6DLyU6l0E7Cho2l8LR0= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, =?UTF-8?q?Tomasz=20Paku=C5=82a?= , Jiri Kosina , Sasha Levin Subject: [PATCH 6.13 189/414] HID: pidff: Remove redundant call to pidff_find_special_keys Date: Thu, 17 Apr 2025 19:49:07 +0200 Message-ID: <20250417175119.044526958@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250417175111.386381660@linuxfoundation.org> References: <20250417175111.386381660@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.13-stable review patch. If anyone has any objections, please let me know. ------------------ From: Tomasz Pakuła [ Upstream commit 1bd55e79cbc0ea2d6a65f51e06c891806359c2f2 ] Probably left out as a mistake after Anssi created the helper macro Signed-off-by: Tomasz Pakuła Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- drivers/hid/usbhid/hid-pidff.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/hid/usbhid/hid-pidff.c b/drivers/hid/usbhid/hid-pidff.c index d5734cbf745d1..6f6c47bd57eaa 100644 --- a/drivers/hid/usbhid/hid-pidff.c +++ b/drivers/hid/usbhid/hid-pidff.c @@ -1159,10 +1159,6 @@ static int pidff_find_special_fields(struct pidff_device *pidff) return -1; } - pidff_find_special_keys(pidff->control_id, pidff->device_control, - pidff_device_control, - sizeof(pidff_device_control)); - PIDFF_FIND_SPECIAL_KEYS(control_id, device_control, device_control); if (!PIDFF_FIND_SPECIAL_KEYS(type_id, create_new_effect_type, -- 2.39.5