mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
drivers: net: cpsw: remove superfluous assignment.
In int ret = A; ret = B; the first assignment has not effect. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
f24534307e
commit
4b23d3c864
1 changed files with 1 additions and 1 deletions
|
@ -949,7 +949,7 @@ static int _cpsw_recv(struct cpsw_priv *priv, uchar **pkt)
|
|||
{
|
||||
void *buffer;
|
||||
int len;
|
||||
int ret = -EAGAIN;
|
||||
int ret;
|
||||
|
||||
ret = cpdma_process(priv, &priv->rx_chan, &buffer, &len);
|
||||
if (ret < 0)
|
||||
|
|
Loading…
Reference in a new issue