]> git.baikalelectronics.ru Git - uboot.git/commit
usb: ehci-omap: Drop dead code
authorAdam Ford <aford173@gmail.com>
Sat, 19 Feb 2022 23:08:41 +0000 (17:08 -0600)
committerMarek Vasut <marex@denx.de>
Wed, 23 Feb 2022 04:25:17 +0000 (05:25 +0100)
commit36f38ba7a48090ae951190d5523cca0a7c96b889
treeb98b7d88c2938242c86f391667ff983f548ad91b
parent0bdfa473ddd4b656adbae8977e76cb1739d60554
usb: ehci-omap: Drop dead code

omap_ehci_hcd_stop appears to be dead code, and omap_ehci_hcd_init
is only called by the probe function, so it can be static to that
function.  Remove both from the header along with some additional
checking for DM_USB.

Signed-off-by: Adam Ford <aford173@gmail.com>
arch/arm/include/asm/ehci-omap.h
drivers/usb/host/ehci-omap.c