net: sh-eth: Remove bd_t from sh_eth_config()
bd_t is not used in sh_eth_config(). This deletes bd_t from sh_eth_config() Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
dc14867d0f
commit
9b5f9ecf6e
@ -373,7 +373,7 @@ static int sh_eth_phy_config(struct sh_eth_dev *eth)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int sh_eth_config(struct sh_eth_dev *eth, bd_t *bd)
|
static int sh_eth_config(struct sh_eth_dev *eth)
|
||||||
{
|
{
|
||||||
int port = eth->port, ret = 0;
|
int port = eth->port, ret = 0;
|
||||||
u32 val;
|
u32 val;
|
||||||
@ -510,7 +510,7 @@ int sh_eth_init(struct eth_device *dev, bd_t *bd)
|
|||||||
if (ret)
|
if (ret)
|
||||||
goto err;
|
goto err;
|
||||||
|
|
||||||
ret = sh_eth_config(eth, bd);
|
ret = sh_eth_config(eth);
|
||||||
if (ret)
|
if (ret)
|
||||||
goto err_config;
|
goto err_config;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user