On Thu, 2022-11-10 at 15:47 +0100, Andreas Bergmeier wrote: > Inside function, report_id might get overwritten. > Only REPORT_ID_HIDPP_SHORT is ever passed in. > So there seems to be no point in passing report_id in the first > place. > Just directly evaluate which report_id to use in the function itself. Looks good. Reviewed-by: Bastien Nocera <hadess@xxxxxxxxxx>