commit | 4663530898a15944706d51b523d1f1545e32e46a | [log] [tgz] |
---|---|---|
author | Markus Armbruster <armbru@redhat.com> | Thu Jan 10 14:33:24 2013 +0100 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Mon Jan 14 12:47:11 2013 +0100 |
tree | 00c5818599218b42817907321562de725041d45f | |
parent | cc8d2b65c7e5f44172bf3ec300407522162e9a7f [diff] |
usb-host: Drop superfluous null test from usb_host_auto_scan() Coverity points out that port is later passed to usb_host_open(), which dereferences it. It actually can't be null: it always points to usb_host_scan()'s auto port[]. Drop the superfluous port == NULL test. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>