Commit a4bdcc38 authored by Lucas Stach's avatar Lucas Stach Committed by Tom Warren

tegra: usb: remove unneeded function parameter

Just a dead parameter, never actually used.
Signed-off-by: default avatarLucas Stach <dev@lynxeye.de>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarTom Warren <twarren@nvidia.com>
parent b0bbab8a
...@@ -486,8 +486,7 @@ int tegrausb_stop_port(int portnum) ...@@ -486,8 +486,7 @@ int tegrausb_stop_port(int portnum)
return 0; return 0;
} }
int fdt_decode_usb(const void *blob, int node, unsigned osc_frequency_mhz, int fdt_decode_usb(const void *blob, int node, struct fdt_usb *config)
struct fdt_usb *config)
{ {
const char *phy, *mode; const char *phy, *mode;
...@@ -535,7 +534,6 @@ int fdt_decode_usb(const void *blob, int node, unsigned osc_frequency_mhz, ...@@ -535,7 +534,6 @@ int fdt_decode_usb(const void *blob, int node, unsigned osc_frequency_mhz,
int board_usb_init(const void *blob) int board_usb_init(const void *blob)
{ {
struct fdt_usb config; struct fdt_usb config;
unsigned osc_freq = clock_get_rate(CLOCK_ID_OSC);
enum clock_osc_freq freq; enum clock_osc_freq freq;
int node_list[USB_PORTS_MAX]; int node_list[USB_PORTS_MAX];
int node, count, i; int node, count, i;
...@@ -552,7 +550,7 @@ int board_usb_init(const void *blob) ...@@ -552,7 +550,7 @@ int board_usb_init(const void *blob)
node = node_list[i]; node = node_list[i];
if (!node) if (!node)
continue; continue;
if (fdt_decode_usb(blob, node, osc_freq, &config)) { if (fdt_decode_usb(blob, node, &config)) {
debug("Cannot decode USB node %s\n", debug("Cannot decode USB node %s\n",
fdt_get_name(blob, node, NULL)); fdt_get_name(blob, node, NULL));
return -1; return -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment