summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorJean Sacren <sakiwit@gmail.com>2021-11-30 00:03:12 -0700
committerSteffen Klassert <steffen.klassert@secunet.com>2021-12-01 09:23:01 +0100
commitac1077e92825bb0ffeee8550a41771df772214ce (patch)
treedf991243f6413799e64d01db09289d697f4145db /tools/perf/scripts/python/intel-pt-events.py
parent2e1809208a4a52e883527c288b4fca61a90100b2 (diff)
net: xfrm: drop check of pols[0] for the second time
!pols[0] is checked earlier. If we don't return, pols[0] is always true. We should drop the check of pols[0] for the second time and the binary is also smaller. Before: text data bss dec hex filename 48395 957 240 49592 c1b8 net/xfrm/xfrm_policy.o After: text data bss dec hex filename 48379 957 240 49576 c1a8 net/xfrm/xfrm_policy.o Signed-off-by: Jean Sacren <sakiwit@gmail.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions