From 7b2f88cc9dd4c2b9f3d6f5377b45ed9c90fd2fe9 Mon Sep 17 00:00:00 2001 From: Benjamin Tissoires Date: Mon, 2 Mar 2026 15:51:10 +0100 Subject: [PATCH] HID: asus: drop unused variables Looks like those variables are leftovers from debugging. Reported-by: Mark Brown Closes: https://lore.kernel.org/linux-next/aaWXFVxygHFpKNxv@sirena.org.uk/ Signed-off-by: Benjamin Tissoires --- drivers/hid/hid-asus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/hid-asus.c b/drivers/hid/hid-asus.c index 425f54b1b27e..e5dee5b6d856 100644 --- a/drivers/hid/hid-asus.c +++ b/drivers/hid/hid-asus.c @@ -729,8 +729,8 @@ static void validate_mcu_fw_version(struct hid_device *hdev, int idProduct) static bool asus_has_report_id(struct hid_device *hdev, u16 report_id) { - int t, f, u, err = 0; struct hid_report *report; + int t; for (t = HID_INPUT_REPORT; t <= HID_FEATURE_REPORT; t++) { list_for_each_entry(report, &hdev->report_enum[t].report_list, list) {