diff options
author | 2020-02-29 17:30:07 +0000 | |
---|---|---|
committer | 2020-03-05 14:17:11 +0000 | |
commit | 5313b2a58ef02e2b077d7ae8088043609e3155b0 (patch) | |
tree | 025a48bb932ac5401042b5ac44e28b06c75f9db9 /lib/test_overflow.c | |
parent | Hyper-V: add myself as a maintainer (diff) | |
download | wireguard-linux-5313b2a58ef02e2b077d7ae8088043609e3155b0.tar.xz wireguard-linux-5313b2a58ef02e2b077d7ae8088043609e3155b0.zip |
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: Lucas Tanure <tanure@linux.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Reviewed-by: Wei Liu <wei.liu@kernel.org>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions