ARC: ioremap: use more commonly used PAGE_KERNEL based uncached flag
[linux-2.6-microblaze.git] / drivers / scsi / qla2xxx / qla_target.c
index 12a6848..eb47140 100644 (file)
@@ -5481,8 +5481,7 @@ qlt_free_qfull_cmds(struct qla_qpair *qpair)
                            "%s: Unexpected cmd in QFull list %p\n", __func__,
                            cmd);
 
-               list_del(&cmd->cmd_list);
-               list_add_tail(&cmd->cmd_list, &free_list);
+               list_move_tail(&cmd->cmd_list, &free_list);
 
                /* piggy back on hardware_lock for protection */
                vha->hw->tgt.num_qfull_cmds_alloc--;