diff options
author | Xiu Jianfeng <xiujianfeng@huawei.com> | 2022-08-16 04:44:01 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2022-08-16 04:44:01 +0200 |
commit | 4847c0eb663ab431b56cd82c9c2627967f09f2ef (patch) | |
tree | fbf11ca07e0c4c261b0231fcb9eb58ef433cae57 /kernel | |
parent | Linux 6.0-rc1 (diff) | |
download | linux-4847c0eb663ab431b56cd82c9c2627967f09f2ef.tar.xz linux-4847c0eb663ab431b56cd82c9c2627967f09f2ef.zip |
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 'kernel')
0 files changed, 0 insertions, 0 deletions