diff options
author | 2021-11-30 00:03:12 -0700 | |
---|---|---|
committer | 2021-12-01 09:23:01 +0100 | |
commit | ac1077e92825bb0ffeee8550a41771df772214ce (patch) | |
tree | df991243f6413799e64d01db09289d697f4145db /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xfrm: Remove duplicate assignment (diff) | |
download | wireguard-linux-ac1077e92825bb0ffeee8550a41771df772214ce.tar.xz wireguard-linux-ac1077e92825bb0ffeee8550a41771df772214ce.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions