commit | 1cbbd85fbcdce186649ce778ff1e08e3df35d285 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Sat Mar 02 22:23:38 2019 +0000 |
committer | Benjamin Tissoires <benjamin.tissoires@redhat.com> | Mon Mar 11 14:43:14 2019 +0100 |
tree | 3c1cd40cf3b3d45aa1ddee0977697039610600b3 | |
parent | 78b92f5f00cb3dbca0553f50847232eef60ccff4 [diff] |
HID: uclogic: remove redudant duplicated null check on ver_ptr Currently ver_ptr is being null checked twice, once before calling usb_string and once afterwards. The second null check is redundant and can be removed, remove it. Detected by CoverityScan, CID#1477308 ("Logically dead code") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>