aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c
diff options
context:
space:
mode:
authorVince Bridgers <vbridgers2013@gmail.com>2014-06-29 20:34:52 -0500
committerDavid S. Miller <davem@davemloft.net>2014-07-02 18:37:54 -0700
commit43d24e48940d04f587818fadc5305b109f5cb8cf (patch)
treedee6dfd184c12aa6bcc34608ba05da25779e806a /drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c
parentnet: stmmac: add platform init/exit for Altera's ARM socfpga (diff)
downloadlinux-dev-43d24e48940d04f587818fadc5305b109f5cb8cf.tar.xz
linux-dev-43d24e48940d04f587818fadc5305b109f5cb8cf.zip
net: stmmac: Correct duplicate if/then/else case found by cppcheck
Cppcheck found a duplicate if/then/else case where a receive descriptor was being processed. This patch corrects that issue. cppcheck --force --enable=all --inline-suppr . ... Checking enh_desc.c... [enh_desc.c:148] -> [enh_desc.c:144]: (style) Found duplicate if expressions. ... Signed-off-by: Vince Bridgers <vbridgers2013@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/dwmac1000_core.c')
0 files changed, 0 insertions, 0 deletions