]> git.baikalelectronics.ru Git - kernel.git/commit
Input: cm109 - remove needless check before usb_free_coherent()
authorXu Wang <vulab@iscas.ac.cn>
Tue, 7 Jul 2020 04:17:46 +0000 (21:17 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 7 Jul 2020 18:01:37 +0000 (11:01 -0700)
commit15dbc11d1ae69f70991011d3029d7c3567330b70
tree93656c173493849f50d5a3dd68a02c62f62b5e59
parent2c2485ecf459b816898438d3071ae56d7965dcc7
Input: cm109 - remove needless check before usb_free_coherent()

usb_free_coherent() is safe with NULL addr and this check is
not required.

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Link: https://lore.kernel.org/r/20200707030905.3123-1-vulab@iscas.ac.cn
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/cm109.c