We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42a2bd6 commit a0ea546Copy full SHA for a0ea546
drivers/hid/usbhid/hid-pidff.c
@@ -210,9 +210,7 @@ struct pidff_device {
210
*/
211
static s32 pidff_clamp(s32 i, struct hid_field *field)
212
{
213
- s32 clamped = clamp(i, field->logical_minimum, field->logical_maximum);
214
- pr_debug("clamped from %d to %d", i, clamped);
215
- return clamped;
+ return (s32)clamp(i, field->logical_minimum, field->logical_maximum);
216
}
217
218
/*
0 commit comments