commit | 87ac1a5296291d557080fb544f445be3bce6c51f | [log] [tgz] |
---|---|---|
author | Kalesh AP <kalesh.purayil@emulex.com> | Mon Feb 23 04:20:15 2015 -0500 |
committer | David S. Miller <davem@davemloft.net> | Mon Feb 23 15:08:32 2015 -0500 |
tree | 712c3b8bea833d02210496779938e972cb4b0faa | |
parent | 484d76fd5154d7d7dcc8e5928a947deb9cc0b94c [diff] |
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 <kalesh.purayil@emulex.com> Signed-off-by: Sathya Perla <sathya.perla@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>