|
|
@@ -1828,10 +1828,8 @@ static int zd1201_probe(struct usb_interface *interface,
|
|
|
/* Leave the device in reset state */
|
|
|
zd1201_docmd(zd, ZD1201_CMDCODE_INIT, 0, 0, 0);
|
|
|
err_zd:
|
|
|
- if (zd->tx_urb)
|
|
|
- usb_free_urb(zd->tx_urb);
|
|
|
- if (zd->rx_urb)
|
|
|
- usb_free_urb(zd->rx_urb);
|
|
|
+ usb_free_urb(zd->tx_urb);
|
|
|
+ usb_free_urb(zd->rx_urb);
|
|
|
kfree(zd);
|
|
|
return err;
|
|
|
}
|