On 2026-10-16T07:25:19, Mehmet Fide <[email protected]> wrote: > usb: ehci-vf: remove the code path for a build without DM_USB > > USB_EHCI_HCD selects USB_HOST, and USB_HOST selects DM_USB, so the > !CONFIG_IS_ENABLED(DM_USB) branch of this driver can never be selected. > It also cannot compile: ehci_hcd_init() calls ehci_vf_common_init() with > one argument while the function takes two, so the branch has been dead > since the controller was added as a second parameter. > > Remove it, together with the board_usb_phy_mode() hook that no board > implements and nothing else calls. > > Signed-off-by: Mehmet Fide <[email protected]> > Reviewed-by: Marek Vasut <[email protected]> > > drivers/usb/host/ehci-vf.c | 49 > ---------------------------------------------- > 1 file changed, 49 deletions(-)
Reviewed-by: Simon Glass <[email protected]>
