summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/softdog.c
diff options
context:
space:
mode:
authorXu Wang <vulab@iscas.ac.cn>2020-07-13 05:53:48 +0000
committerWim Van Sebroeck <wim@linux-watchdog.org>2020-08-05 18:43:01 +0200
commitf1889c9066722f56428978ce9431a6cacabecb57 (patch)
tree11871a2f3bf54cab019bf24a6f2ff738ec1b7552 /drivers/watchdog/softdog.c
parent2ab77a34d070b1611a52b50c7cfae074153d475b (diff)
downloadlinux-stable-f1889c9066722f56428978ce9431a6cacabecb57.tar.gz
linux-stable-f1889c9066722f56428978ce9431a6cacabecb57.tar.bz2
linux-stable-f1889c9066722f56428978ce9431a6cacabecb57.zip
watchdog: pcwd_usb: remove needless check before usb_free_coherent()
usb_free_coherent() is safe with NULL usb_pcwd->intr_buffer and this check is not required. Signed-off-by: Xu Wang <vulab@iscas.ac.cn> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20200713055348.21620-1-vulab@iscas.ac.cn Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/softdog.c')
0 files changed, 0 insertions, 0 deletions