summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/commsup.c
diff options
context:
space:
mode:
authorMark Haverkamp <markh@osdl.org>2006-09-19 08:59:23 -0700
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-09-23 20:08:26 -0500
commit65101355450df2d935f8d56ac3abef279f28a0e2 (patch)
treedeea581c99159e8d7f13d0f92c6972d9a5ab9b74 /drivers/scsi/aacraid/commsup.c
parent9cbb889786548c1212fb77a9df8d09ed883a3480 (diff)
downloadblackbird-op-linux-65101355450df2d935f8d56ac3abef279f28a0e2.tar.gz
blackbird-op-linux-65101355450df2d935f8d56ac3abef279f28a0e2.zip
[SCSI] aacraid: misc cleanup
Received from Mark Salyzyn: Basically cleanup, nothing here will have an affect. Adjusting some error codes, removing superfluous definitions and code fragments. Signed-off-by: Mark Haverkamp <markh@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aacraid/commsup.c')
-rw-r--r--drivers/scsi/aacraid/commsup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/commsup.c b/drivers/scsi/aacraid/commsup.c
index 53add53be0bd..907161d6e92c 100644
--- a/drivers/scsi/aacraid/commsup.c
+++ b/drivers/scsi/aacraid/commsup.c
@@ -467,7 +467,7 @@ int aac_fib_send(u16 command, struct fib *fibptr, unsigned long size,
dprintk((KERN_DEBUG " fib being sent=%p\n",fibptr));
if (!dev->queues)
- return -ENODEV;
+ return -EBUSY;
q = &dev->queues->queue[AdapNormCmdQueue];
if(wait)
OpenPOWER on IntegriCloud