|
@@ -327,11 +327,12 @@ drop:
|
|
*/
|
|
*/
|
|
void ft_invl_hw_context(struct ft_cmd *cmd)
|
|
void ft_invl_hw_context(struct ft_cmd *cmd)
|
|
{
|
|
{
|
|
- struct fc_seq *seq = cmd->seq;
|
|
|
|
|
|
+ struct fc_seq *seq;
|
|
struct fc_exch *ep = NULL;
|
|
struct fc_exch *ep = NULL;
|
|
struct fc_lport *lport = NULL;
|
|
struct fc_lport *lport = NULL;
|
|
|
|
|
|
BUG_ON(!cmd);
|
|
BUG_ON(!cmd);
|
|
|
|
+ seq = cmd->seq;
|
|
|
|
|
|
/* Cleanup the DDP context in HW if DDP was setup */
|
|
/* Cleanup the DDP context in HW if DDP was setup */
|
|
if (cmd->was_ddp_setup && seq) {
|
|
if (cmd->was_ddp_setup && seq) {
|