projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc14867
)
net: sh-eth: Remove bd_t from sh_eth_config()
author
Nobuhiro Iwamatsu
<iwamatsu@nigauri.org>
Thu, 30 Nov 2017 23:08:47 +0000
(08:08 +0900)
committer
Joe Hershberger
<joe.hershberger@ni.com>
Mon, 15 Jan 2018 18:05:24 +0000
(12:05 -0600)
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>
drivers/net/sh_eth.c
patch
|
blob
|
history
diff --git
a/drivers/net/sh_eth.c
b/drivers/net/sh_eth.c
index eafc4d3f27a293659dbc5b9e6bc9ea60c57e9a41..14816a0a03afe40972d6772c4169052fe9b570e5 100644
(file)
--- a/
drivers/net/sh_eth.c
+++ b/
drivers/net/sh_eth.c
@@
-373,7
+373,7
@@
static int sh_eth_phy_config(struct sh_eth_dev *eth)
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;
u32 val;
@@
-510,7
+510,7
@@
int sh_eth_init(struct eth_device *dev, bd_t *bd)
if (ret)
goto err;
- ret = sh_eth_config(eth
, bd
);
+ ret = sh_eth_config(eth);
if (ret)
goto err_config;