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 @@ -987,8 +987,6 @@ static void qla24xx_async_gnl_sp_done(srb_t *sp, int res)
987
987
sp -> name , res , sp -> u .iocb_cmd .u .mbx .in_mb [1 ],
988
988
sp -> u .iocb_cmd .u .mbx .in_mb [2 ]);
989
989
990
- if (res == QLA_FUNCTION_TIMEOUT )
991
- return ;
992
990
993
991
sp -> fcport -> flags &= ~(FCF_ASYNC_SENT |FCF_ASYNC_ACTIVE );
994
992
memset (& ea , 0 , sizeof (ea ));
@@ -1026,8 +1024,8 @@ static void qla24xx_async_gnl_sp_done(srb_t *sp, int res)
1026
1024
spin_unlock_irqrestore (& vha -> hw -> tgt .sess_lock , flags );
1027
1025
1028
1026
list_for_each_entry_safe (fcport , tf , & h , gnl_entry ) {
1029
- list_del_init (& fcport -> gnl_entry );
1030
1027
spin_lock_irqsave (& vha -> hw -> tgt .sess_lock , flags );
1028
+ list_del_init (& fcport -> gnl_entry );
1031
1029
fcport -> flags &= ~(FCF_ASYNC_SENT | FCF_ASYNC_ACTIVE );
1032
1030
spin_unlock_irqrestore (& vha -> hw -> tgt .sess_lock , flags );
1033
1031
ea .fcport = fcport ;
You can’t perform that action at this time.
0 commit comments