commit | 1ac890d45230ac74e96a276dcdf98ed593efc654 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sat Sep 20 17:03:52 2014 +0200 |
committer | Marek Vasut <marex@denx.de> | Tue Nov 04 06:03:59 2014 +0100 |
tree | 14c32999e2fbed9114050568b492907fc742d7fd | |
parent | 8be3d9fc8d504dda44995085aa3eefbc2bd19ffa [diff] |
usb: Remove unnecessary portnr lookup from usb_new_device If the device has a parent, it is instantiated from usb_hub_port_connect_change and the portnr is right there in dev->portnr, so there is no need for this whole dance to look it up. Signed-off-by: Hans de Goede <hdegoede@redhat.com>