HID: hyperv: NULL check before some freeing functions is not needed.
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: NLucas Tanure <tanure@linux.com> Reviewed-by: NMichael Kelley <mikelley@microsoft.com> Reviewed-by: NWei Liu <wei.liu@kernel.org> Acked-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: NWei Liu <wei.liu@kernel.org>
Showing
想要评论请 注册 或 登录