diff options
author | Chetan Loke <loke.chetan@gmail.com> | 2012-05-15 20:34:09 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-05-22 12:12:47 +0200 |
commit | a6eb3c9f73deaa318f17a19c7ad012b3ebe750c3 (patch) | |
tree | 686ce06b73984e2364f633d105de8f60546991bc /sound/pci/aw2 | |
parent | [SCSI] qla2xxx: Fix typo in qla_init.c (diff) | |
download | linux-a6eb3c9f73deaa318f17a19c7ad012b3ebe750c3.tar.xz linux-a6eb3c9f73deaa318f17a19c7ad012b3ebe750c3.zip |
[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 <loke.chetan@gmail.com>
Reviewed-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Reviewed-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'sound/pci/aw2')
0 files changed, 0 insertions, 0 deletions