Message ID | 20171130230847.14648-1-iwamatsu@nigauri.org |
---|---|
State | Accepted |
Commit | 9b5f9ecf6e7e2af0d395e10323b14d77fc0c9a9b |
Delegated to: | Joe Hershberger |
Headers | show |
Series | [U-Boot] net: sh-eth: Remove bd_t from sh_eth_config() | expand |
On Thu, Nov 30, 2017 at 5:08 PM, Nobuhiro Iwamatsu <iwamatsu@nigauri.org> wrote: > 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>
Hi Nobuhiro, https://patchwork.ozlabs.org/patch/843226/ was applied to http://git.denx.de/?p=u-boot/u-boot-net.git Thanks! -Joe
diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c index 5c6278069c..aee2e57e97 100644 --- 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;
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> --- drivers/net/sh_eth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)