diff options
author | Xu Wang <vulab@iscas.ac.cn> | 2020-07-13 08:53:48 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2020-08-05 19:43:01 +0300 |
commit | f1889c9066722f56428978ce9431a6cacabecb57 (patch) | |
tree | 11871a2f3bf54cab019bf24a6f2ff738ec1b7552 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 2ab77a34d070b1611a52b50c7cfae074153d475b (diff) | |
download | linux-f1889c9066722f56428978ce9431a6cacabecb57.tar.xz |
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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions