X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fstaging%2Fwinbond%2Fwb35rx.c;h=8d71bc2f5940b6f2037a225e00528fd8ee71bc43;hb=76d3f4c27d3c2c85e5cfe731537b6929145bf652;hp=f118eeba396ae195bb77da4a9d8a518570accbe4;hpb=6ea25a6c2b95cf916e844fe2bacdd1c15b72e4c5;p=karo-tx-linux.git diff --git a/drivers/staging/winbond/wb35rx.c b/drivers/staging/winbond/wb35rx.c index f118eeba396a..8d71bc2f5940 100644 --- a/drivers/staging/winbond/wb35rx.c +++ b/drivers/staging/winbond/wb35rx.c @@ -343,8 +343,7 @@ void Wb35Rx_destroy(struct hw_data *pHwData) } while (pWb35Rx->EP3vm_state != VM_STOP); msleep(10); /* Delay for waiting function exit */ - if (pWb35Rx->RxUrb) - usb_free_urb(pWb35Rx->RxUrb); + usb_free_urb(pWb35Rx->RxUrb); pr_debug("Wb35Rx_destroy OK\n"); }