Re: [PATCH] USB: usbip: remove useless call in usbip_recv

2018-01-02 Thread Shuah Khan
On 01/02/2018 07:02 AM, Gustavo A. R. Silva wrote: > Calling msg_data_left(&msg) is only useful for its return value, > which in this particular case is ignored. > > Fix this by removing such call. > > Addresses-Coverity-ID: 1427080 > Fixes: 90120d15f4c3 ("usbip: prevent leaking socket pointer ad

[PATCH] USB: usbip: remove useless call in usbip_recv

2018-01-02 Thread Gustavo A. R. Silva
Calling msg_data_left(&msg) is only useful for its return value, which in this particular case is ignored. Fix this by removing such call. Addresses-Coverity-ID: 1427080 Fixes: 90120d15f4c3 ("usbip: prevent leaking socket pointer address in messages") Signed-off-by: Gustavo A. R. Silva --- dri