-#ifdef NOMORE
- /* This abort task function is the first stop of the libsas error
- * handler thread. Since libsas is executing in a thread with a
- * referernce to the "task" parameter, that task cannot be completed
- * directly back to the upper layers. In order to make sure that
- * the task is managed correctly if this abort task fails, set the
- * "SAS_TASK_STATE_ABORTED" bit now such that completions up the
- * stack will be intercepted and only allowed to happen in the
- * libsas SCSI error handler thread.
- */
- spin_lock_irqsave(&task->task_state_lock, flags);
- task->task_state_flags |= SAS_TASK_STATE_ABORTED;
- spin_unlock_irqrestore(&task->task_state_lock, flags);
-#endif /* NOMORE */
-