From: Lendacky, Thomas Date: Thu, 20 Nov 2014 17:03:38 +0000 (-0600) Subject: amd-xgbe: Incorporate Smatch coding suggestion X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~138^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7bba35bddadbca599aa8be1618e04c548a58d05a;p=pandora-kernel.git amd-xgbe: Incorporate Smatch coding suggestion The Smatch tool indicated that one of the if statements in xgbe-dev.c could be rewritten to remove a redundant check for the 'err' variable in an if statement. Change the statement as suggested and add a comment to help clarify. Signed-off-by: Tom Lendacky Reported-by: Dan Carpenter Signed-off-by: David S. Miller --- Reading git-diff-tree failed