From: Vince Bridgers Date: Mon, 30 Jun 2014 01:34:53 +0000 (-0500) Subject: net: stmmac: Remove unneeded I/O read caught by cppcheck X-Git-Tag: omap-for-v3.17/fixes-against-rc2~289^2~42^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8df8ce3ee5ff24993bba9033e7d13b16fa3809c;p=pandora-kernel.git net: stmmac: Remove unneeded I/O read caught by cppcheck Cppcheck found a case where a local variable was being assigned a value, but not used. There seems to be no reason to read this register before assigning a new value, so addressing thie issue. cppcheck --force --enable=all --inline-suppr . shows ... Variable 'value' is reassigned a value before the old one has been used. Signed-off-by: Vince Bridgers Signed-off-by: David S. Miller --- Reading git-diff-tree failed