From: Bruce Allan Date: Wed, 8 Feb 2012 02:55:56 +0000 (+0000) Subject: e1000e: cleanup goto statements to exit points without common work X-Git-Tag: v3.4-rc1~177^2~305^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5015e53a4cf0c88977120faede7eb02b0459d90e;p=pandora-kernel.git e1000e: cleanup goto statements to exit points without common work Per ./Documentation/CodingStyle, goto statements are acceptable for the centralized exiting of functions when there are multiple exit points which share common work such as cleanup. When no common work is required for multiple exit points, the function should just return at these exit points instead of doing an unnecessary jump to a centralized return. This patch cleans up the inappropriate use of goto statements, and removes unnecessary variables (or move to a smaller scope) where possible as a result of the cleanups. Signed-off-by: Bruce Allan Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed