We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ab77a3 commit f1889c9Copy full SHA for f1889c9
drivers/watchdog/pcwd_usb.c
@@ -585,9 +585,8 @@ static struct notifier_block usb_pcwd_notifier = {
585
static inline void usb_pcwd_delete(struct usb_pcwd_private *usb_pcwd)
586
{
587
usb_free_urb(usb_pcwd->intr_urb);
588
- if (usb_pcwd->intr_buffer != NULL)
589
- usb_free_coherent(usb_pcwd->udev, usb_pcwd->intr_size,
590
- usb_pcwd->intr_buffer, usb_pcwd->intr_dma);
+ usb_free_coherent(usb_pcwd->udev, usb_pcwd->intr_size,
+ usb_pcwd->intr_buffer, usb_pcwd->intr_dma);
591
kfree(usb_pcwd);
592
}
593
0 commit comments