From: Michael Chan Date: Wed, 20 Jul 2011 14:55:23 +0000 (+0000) Subject: cnic: Wait for all Context IDs to be deleted before sending FCOE_DESTROY_FUNC X-Git-Tag: v3.1-rc1~316^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74e49bbdabbac34c77b280152b1de9bef9bf9be7;p=pandora-kernel.git cnic: Wait for all Context IDs to be deleted before sending FCOE_DESTROY_FUNC Otherwise, the firmware will not respond and we'll have to wait for timeout. Refactor the wait loop we already have into a separate function for this purpose. Signed-off-by: Michael Chan Reviewed-by: Bhanu Prakash Gollapudi Signed-off-by: David S. Miller --- Reading git-diff-tree failed