Re: [PATCH] HID: hyperv: NULL check before some freeing functions is not needed.

From: Wei Liu
Date: Sat Feb 29 2020 - 17:48:35 EST


On Sat, Feb 29, 2020 at 05:30:07PM +0000, Lucas Tanure wrote:
> Fix below warnings reported by coccicheck:
> drivers/hid/hid-hyperv.c:197:2-7: WARNING: NULL check before some freeing functions is not needed.
> drivers/hid/hid-hyperv.c:211:2-7: WARNING: NULL check before some freeing functions is not needed.
>
> Signed-off-by: Lucas Tanure <tanure@xxxxxxxxx>

Reviewed-by: Wei Liu <wei.liu@xxxxxxxxxx>