diff options
Diffstat (limited to 'drivers/scsi/aacraid/commsup.c')
-rw-r--r-- | drivers/scsi/aacraid/commsup.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/scsi/aacraid/commsup.c b/drivers/scsi/aacraid/commsup.c index a23d7e5de5b0..5824a757a753 100644 --- a/drivers/scsi/aacraid/commsup.c +++ b/drivers/scsi/aacraid/commsup.c | |||
@@ -519,11 +519,9 @@ int aac_fib_send(u16 command, struct fib *fibptr, unsigned long size, | |||
519 | spin_unlock_irqrestore(&fibptr->event_lock, flags); | 519 | spin_unlock_irqrestore(&fibptr->event_lock, flags); |
520 | BUG_ON(fibptr->done == 0); | 520 | BUG_ON(fibptr->done == 0); |
521 | 521 | ||
522 | if((fibptr->flags & FIB_CONTEXT_FLAG_TIMED_OUT)){ | 522 | if(unlikely(fibptr->flags & FIB_CONTEXT_FLAG_TIMED_OUT)) |
523 | return -ETIMEDOUT; | 523 | return -ETIMEDOUT; |
524 | } else { | 524 | return 0; |
525 | return 0; | ||
526 | } | ||
527 | } | 525 | } |
528 | /* | 526 | /* |
529 | * If the user does not want a response than return success otherwise | 527 | * If the user does not want a response than return success otherwise |