[SCSI] advansys: Remove a check for an impossible condition
authorMatthew Wilcox <matthew@wil.cx>
Sun, 9 Sep 2007 14:56:37 +0000 (08:56 -0600)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:48:07 +0000 (14:48 -0400)
commitfaac48ecf475c8e214190dabe600585e0bd4f455
tree42a17f8cbcd860ce8d55013d160ae0257f077127
parentf05ec594fed6890d38bb8767676f626a4035ba55
[SCSI] advansys: Remove a check for an impossible condition

AscExeScsiQueue() has one caller, and it passes the address of a
variable; this cannot ever be NULL.  This is the only place that ever
sets ASCQ_ERR_SCSIQ_NULL_PTR, so delete that error code too, as well as
several other unused ASCQ_ERR codes.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/advansys.c