summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorXiu Jianfeng <xiujianfeng@huawei.com>2022-08-16 04:44:01 +0200
committerPaul Moore <paul@paul-moore.com>2022-08-16 04:44:01 +0200
commit4847c0eb663ab431b56cd82c9c2627967f09f2ef (patch)
treefbf11ca07e0c4c261b0231fcb9eb58ef433cae57 /kernel
parentLinux 6.0-rc1 (diff)
downloadlinux-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