From: Tomasz Pakuła Date: Sat, 24 May 2025 17:47:18 +0000 (+0200) Subject: HID: pidff: Remove unneeded debug from pidff_clamp() X-Git-Tag: v6.17-rc1~78^2~2^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a0ea54654dd7b53df85d81f5201a78f842ea713f;p=thirdparty%2Fkernel%2Fstable.git HID: pidff: Remove unneeded debug from pidff_clamp() Fixes chechpatch.pl warning about missing blank line Signed-off-by: Tomasz Pakuła Signed-off-by: Jiri Kosina --- diff --git a/drivers/hid/usbhid/hid-pidff.c b/drivers/hid/usbhid/hid-pidff.c index 3c2b20cf78539..44cbd2a0461ab 100644 --- a/drivers/hid/usbhid/hid-pidff.c +++ b/drivers/hid/usbhid/hid-pidff.c @@ -210,9 +210,7 @@ struct pidff_device { */ static s32 pidff_clamp(s32 i, struct hid_field *field) { - s32 clamped = clamp(i, field->logical_minimum, field->logical_maximum); - pr_debug("clamped from %d to %d", i, clamped); - return clamped; + return (s32)clamp(i, field->logical_minimum, field->logical_maximum); } /*