commit | 4b23d3c86465f366ef6d76866f6464f19dd15135 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sun Mar 18 11:24:38 2018 +0100 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Thu Mar 22 15:05:32 2018 -0500 |
tree | cfd74646049ef39c4eca37b2d5174b7d672e775f | |
parent | f24534307e983d983cc573390f75c76977d57ec6 [diff] |
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>
diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c index b72258f..e2395db 100644 --- a/drivers/net/cpsw.c +++ b/drivers/net/cpsw.c
@@ -949,7 +949,7 @@ { void *buffer; int len; - int ret = -EAGAIN; + int ret; ret = cpdma_process(priv, &priv->rx_chan, &buffer, &len); if (ret < 0)