This warning appears when the flag -Wunused-parameter is set.
It uses __attribute__((unused)) to release_usb_device()'s dummy parameter, which can't be directly removed because the prototype of the function must respect the type of signal()'s parameter.
[PATCH 3/3]Remove unused parameter warning
- Attachments
-
- 0003-DEVMINOR-Remove-unused-parameter-warning.patch
- (748 Bytes) Downloaded 556 times