summaryrefslogtreecommitdiff
path: root/common/cmd_elf.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-09-20 17:03:52 +0200
committerMarek Vasut <marex@denx.de>2014-11-04 06:03:59 +0100
commitf7b9baf75596cca891e0a5da85a45c799131404e (patch)
tree14c32999e2fbed9114050568b492907fc742d7fd /common/cmd_elf.c
parent46b7b2e8025770fb29f7810c2d7d15a6650b9643 (diff)
downloadu-boot-imx-f7b9baf75596cca891e0a5da85a45c799131404e.zip
u-boot-imx-f7b9baf75596cca891e0a5da85a45c799131404e.tar.gz
u-boot-imx-f7b9baf75596cca891e0a5da85a45c799131404e.tar.bz2
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>
Diffstat (limited to 'common/cmd_elf.c')
0 files changed, 0 insertions, 0 deletions