Skip to content
Snippets Groups Projects
Commit 40356c2c authored by Amit Kumar's avatar Amit Kumar
Browse files

libdsl libethernet: static error resolved.

parent 445ccef4
Branches
Tags
No related merge requests found
......@@ -54,7 +54,6 @@ static int bcm_eth_get_unit_port(const char *ifname, int *unit, int *port)
{
struct ethswctl_data data;
int ret;
int i;
memset(&data, 0, sizeof(struct ethswctl_data));
......@@ -73,6 +72,7 @@ static int bcm_eth_get_unit_port(const char *ifname, int *unit, int *port)
*port = data.port;
if (!data.port && data.port_map) {
int i;
unsigned int portmap = data.port_map;
for (i = 0; i < 8 * sizeof(portmap); i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment