From: Kalesh AP Date: Mon, 23 Feb 2015 09:20:15 +0000 (-0500) Subject: be2net: refactor adapter resource cleanup sequence into be_cleanup() X-Git-Tag: omap-for-v4.1/fixes-rc1~141^2~405^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87ac1a5296291d557080fb544f445be3bce6c51f;p=pandora-kernel.git be2net: refactor adapter resource cleanup sequence into be_cleanup() Most of the resource cleanup sequences performed in be_suspend(), be_eeh_err_detected() and be_err_detection_task() are same. Moved the common code to a new routine be_cleanup() to avoid code duplication. Signed-off-by: Kalesh AP Signed-off-by: Sathya Perla Signed-off-by: David S. Miller --- Reading git-diff-tree failed