Skip to content
Commit f7b9baf7 authored by Hans de Goede's avatar Hans de Goede Committed by Marek Vasut
Browse files

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: default avatarHans de Goede <hdegoede@redhat.com>
parent 46b7b2e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment