summaryrefslogtreecommitdiff
path: root/drivers/net/mdio
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 /drivers/net/mdio
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff)
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 'drivers/net/mdio')
0 files changed, 0 insertions, 0 deletions