diff options
author | Ryder Lee <ryder.lee@mediatek.com> | 2019-04-01 15:16:42 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-05-01 13:03:59 +0200 |
commit | 6edf07478da50ffbe64110391dada12bc1711f29 (patch) | |
tree | 1b6c8dbb5556fb931bb1b6759231c73a2f5713e7 /tools/perf/scripts/python/stackcollapse.py | |
parent | 04b8e65922f631e297bde9536306f879e6fd952b (diff) |
mt76: add unlikely() for dma_mapping_error() check
In the tx/rx fastpath, the funciton dma_map_single() rarely fails.
This adds unlikely() optimization to this error check conditional.
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions