summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRyder Lee <ryder.lee@mediatek.com>2019-04-01 10:16:42 +0300
committerFelix Fietkau <nbd@nbd.name>2019-05-01 14:03:59 +0300
commit6edf07478da50ffbe64110391dada12bc1711f29 (patch)
tree1b6c8dbb5556fb931bb1b6759231c73a2f5713e7 /scripts
parent04b8e65922f631e297bde9536306f879e6fd952b (diff)
downloadlinux-6edf07478da50ffbe64110391dada12bc1711f29.tar.xz
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 'scripts')
0 files changed, 0 insertions, 0 deletions