From: Bhanu Prakash Gollapudi Date: Fri, 5 Aug 2011 00:38:41 +0000 (-0700) Subject: [SCSI] bnx2fc: Reorganize cleanup code between interface_cleanup and if_destory X-Git-Tag: v3.2-rc1~125^2~191 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9be17fc43e0121e966049a323ad38a35626525c1;p=pandora-kernel.git [SCSI] bnx2fc: Reorganize cleanup code between interface_cleanup and if_destory Move interface specific cleanup functionality to from bnx2fc_if_destroy to bnx2fc_interface_cleanup. Do not access interface/hba in bnx2fc_if_destroy as by the time this function is called interface may already be destroyed. This patch is in preparation to handle NETDEV_UNREGISTER on a vlan device. Signed-off-by: Bhanu Prakash Gollapudi Signed-off-by: James Bottomley --- Reading git-diff-tree failed