[PATCH] input: misc: remove needless check before usb_free_coherent()

2020-07-06 Thread Xu Wang
usb_free_coherent() is safe with NULL addr and this check is not required. Signed-off-by: Xu Wang --- drivers/input/misc/cm109.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/input/misc/cm109.c b/drivers/input/misc/cm109.c index c09b9628ad34..e413801f0491

Re: [PATCH] input: misc: remove needless check before usb_free_coherent()

2020-07-06 Thread Dmitry Torokhov
Hi, On Tue, Jun 30, 2020 at 06:36:16AM +, Chen Ni wrote: > From: Xu Wang > > usb_free_coherent() is safe with NULL addr and this check is > not required. > > Signed-off-by: Xu Wang Even if you are passing on a patch created by someone else you still need to add your "signed-off-by" to

[PATCH] input: misc: remove needless check before usb_free_coherent()

2020-06-30 Thread Chen Ni
From: Xu Wang usb_free_coherent() is safe with NULL addr and this check is not required. Signed-off-by: Xu Wang --- drivers/input/misc/cm109.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/input/misc/cm109.c b/drivers/input/misc/cm109.c index