diff options
| author | Jakub Kicinski <[email protected]> | 2017-10-12 17:34:09 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-14 18:13:28 +0000 |
| commit | 8283737065b2dab480cd10e00e6f8abbcb62b5b0 (patch) | |
| tree | 907b0964d517b5b97c150fd83440fdfec8a5346d /drivers/net/dsa/dsa_loop.c | |
| parent | nfp: bpf: reorder arguments to emit_ld_field_any() (diff) | |
| download | kernel-8283737065b2dab480cd10e00e6f8abbcb62b5b0.tar.gz kernel-8283737065b2dab480cd10e00e6f8abbcb62b5b0.zip | |
nfp: bpf: add missing return in jne_imm optimization
We optimize comparisons to immediate 0 as if (reg.lo | reg.hi).
The early return statement was missing, however, which means we
would generate two comparisons - optimized one followed by a
normal 2x 32 bit compare.
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions
