summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorXiu Jianfeng <xiujianfeng@huawei.com>2022-08-15 22:44:01 -0400
committerPaul Moore <paul@paul-moore.com>2022-08-15 22:44:01 -0400
commit4847c0eb663ab431b56cd82c9c2627967f09f2ef (patch)
treefbf11ca07e0c4c261b0231fcb9eb58ef433cae57 /fs
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff)
downloadlinux-4847c0eb663ab431b56cd82c9c2627967f09f2ef.tar.gz
linux-4847c0eb663ab431b56cd82c9c2627967f09f2ef.tar.bz2
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 'fs')
0 files changed, 0 insertions, 0 deletions