From: Matthew Wilcox Date: Sun, 9 Sep 2007 14:56:37 +0000 (-0600) Subject: [SCSI] advansys: Remove a check for an impossible condition X-Git-Tag: v2.6.24-rc1~1290^2~121 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=faac48ecf475c8e214190dabe600585e0bd4f455;p=pandora-kernel.git [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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed