diff options
author | Ido Yariv <ido@wizery.com> | 2011-03-01 13:14:43 (GMT) |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-03-03 14:12:57 (GMT) |
commit | b07d4037051318d47c055384ef887535a0ed2d1e (patch) | |
tree | 87be47dfa0c80bdf6570e613269421b937a27d87 /drivers/scsi/arcmsr/arcmsr.h | |
parent | 2da69b890f47852dc368136375f49a5d24e2d9a1 (diff) | |
download | linux-fsl-qoriq-b07d4037051318d47c055384ef887535a0ed2d1e.tar.xz |
wl12xx: Avoid redundant TX work
TX might be handled in the threaded IRQ handler, in which case, TX work
might be scheduled just to discover it has nothing to do.
Save a few context switches by cancelling redundant TX work in case TX
is about to be handled in the threaded IRQ handler. Also, avoid
scheduling TX work from wl1271_op_tx if not needed.
Signed-off-by: Ido Yariv <ido@wizery.com>
Reviewed-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/scsi/arcmsr/arcmsr.h')
0 files changed, 0 insertions, 0 deletions