File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -976,8 +976,6 @@ static void qla24xx_async_gnl_sp_done(srb_t *sp, int res)
976
976
sp -> name , res , sp -> u .iocb_cmd .u .mbx .in_mb [1 ],
977
977
sp -> u .iocb_cmd .u .mbx .in_mb [2 ]);
978
978
979
- if (res == QLA_FUNCTION_TIMEOUT )
980
- return ;
981
979
982
980
sp -> fcport -> flags &= ~(FCF_ASYNC_SENT |FCF_ASYNC_ACTIVE );
983
981
memset (& ea , 0 , sizeof (ea ));
@@ -1015,8 +1013,8 @@ static void qla24xx_async_gnl_sp_done(srb_t *sp, int res)
1015
1013
spin_unlock_irqrestore (& vha -> hw -> tgt .sess_lock , flags );
1016
1014
1017
1015
list_for_each_entry_safe (fcport , tf , & h , gnl_entry ) {
1018
- list_del_init (& fcport -> gnl_entry );
1019
1016
spin_lock_irqsave (& vha -> hw -> tgt .sess_lock , flags );
1017
+ list_del_init (& fcport -> gnl_entry );
1020
1018
fcport -> flags &= ~(FCF_ASYNC_SENT | FCF_ASYNC_ACTIVE );
1021
1019
spin_unlock_irqrestore (& vha -> hw -> tgt .sess_lock , flags );
1022
1020
ea .fcport = fcport ;
You can’t perform that action at this time.
0 commit comments