diff options
author | Xu Wang <vulab@iscas.ac.cn> | 2020-07-13 05:53:48 +0000 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2020-08-05 18:43:01 +0200 |
commit | f1889c9066722f56428978ce9431a6cacabecb57 (patch) | |
tree | 11871a2f3bf54cab019bf24a6f2ff738ec1b7552 /drivers/watchdog/softdog.c | |
parent | 2ab77a34d070b1611a52b50c7cfae074153d475b (diff) | |
download | linux-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