On 17 June 2015 at 13:33, Hans de Goede <hdego...@redhat.com> wrote: > The device-model usb_legacy_port_reset function calls the device-model > usb_port_reset function which is a 1 on 1 copy of the non dm > usb_legacy_port_reset and this is the only use of usb_port_reset in all > of u-boot. > > Drop both, and alway use the usb_legacy_port_reset() version in > common/usb.c . > > Also while at it make it static as it is only used in common/usb.c . > > Signed-off-by: Hans de Goede <hdego...@redhat.com> > --- > common/usb.c | 4 +--- > drivers/usb/host/usb-uclass.c | 29 ----------------------------- > include/usb.h | 8 -------- > 3 files changed, 1 insertion(+), 40 deletions(-)
Acked-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot