]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qla2xxx: Micro optimization in queuecommand handler
authorChetan Loke <loke.chetan@gmail.com>
Thu, 16 Feb 2012 19:34:56 +0000 (13:34 -0600)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 23 Jul 2012 08:02:42 +0000 (01:02 -0700)
commit239e8173812e37e9c1cbca89cea0c458702e0896
tree3db681abc53ec673f83b134a000e498b422418e3
parentdbea7e83dfb9f737aa3b3e4d3c6ae8870620424b
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.

JIRA Key: V2632FC-172
drivers/scsi/qla2xxx/qla_iocb.c