From: Vince Bridgers Date: Mon, 30 Jun 2014 01:34:52 +0000 (-0500) Subject: net: stmmac: Correct duplicate if/then/else case found by cppcheck X-Git-Tag: omap-for-v3.17/fixes-against-rc2~289^2~42^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43d24e48940d04f587818fadc5305b109f5cb8cf;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed