diff options
author | Xiu Jianfeng <xiujianfeng@huawei.com> | 2022-08-16 05:44:01 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2022-08-16 05:44:01 +0300 |
commit | 4847c0eb663ab431b56cd82c9c2627967f09f2ef (patch) | |
tree | fbf11ca07e0c4c261b0231fcb9eb58ef433cae57 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff) | |
download | linux-4847c0eb663ab431b56cd82c9c2627967f09f2ef.tar.xz |
lsm: clean up redundant NULL pointer check
The implements of {ip,tcp,udp,dccp,sctp,ipv6}_hdr(skb) guarantee that
they will never return NULL, and elsewhere users don't do the check
as well, so remove the check here.
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
[PM: subject line tweaks]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions