
23 Jan
2020
23 Jan
'20
4:24 p.m.
Hi Anatolij,
On Thu, Jan 23, 2020 at 11:43 AM Anatolij Gustschin agust@denx.de wrote:
On Thu, 23 Jan 2020 10:20:14 -0300 Pedro Jardim jardim.c.pedro@gmail.com wrote:
Function init_usb_clk() is not used anywhere, so it can simply be deleted. This was detected by the following sparse warning:
arch/arm/mach-imx/imx8m/clock_imx8mq.c:377:6: warning: no previous prototype for ‘init_usb_clk’ [-Wmissing-prototypes] void init_usb_clk(void)
Cc'ing Peng. Maybe this was in preparation for adding USB support ?
Unfortunately i.MX8M USB support has been pending for a long time.
I prefer if we could get rid of this unused code and then bring this back when USB support comes in.