From: Chetan Loke Date: Tue, 15 May 2012 18:34:09 +0000 (-0400) Subject: [SCSI] qla2xxx: Micro optimization in queuecommand handler X-Git-Tag: v3.5-rc1~25^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6eb3c9f73deaa318f17a19c7ad012b3ebe750c3;p=pandora-kernel.git [SCSI] qla2xxx: Micro optimization in queuecommand handler Optimized queuecommand handler's to eliminate double head-room checks. The checks are moved inside the 1st if-loop otherwise you would end up checking twice when there is enough head room. Signed-off-by: Chetan Loke Reviewed-by: Andrew Vasquez Reviewed-by: Giridhar Malavali Signed-off-by: Chad Dupuis Signed-off-by: James Bottomley --- Reading git-diff-tree failed