WSL2-Linux-Kernel/net/ieee802154
Dongliang Mu 984cfd55e0 net: ieee802154: remove an unnecessary null pointer check
llsec_parse_seclevel has the null pointer check at its begining. Compared
with nl802154_add_llsec_seclevel, nl802154_del_llsec_seclevel has a
redundant null pointer check of info->attrs[NL802154_ATTR_SEC_LEVEL]
before llsec_parse_seclevel.

Fix this issue by removing the null pointer check in
nl802154_del_llsec_seclevel.

Signed-off-by: Dongliang Mu <dzm91@hust.edu.cn>
Link: https://lore.kernel.org/r/20230308083231.460015-1-dzm91@hust.edu.cn
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
2023-03-17 09:13:53 +01:00
..
6lowpan
Kconfig
Makefile
core.c
core.h
header_ops.c
ieee802154.h
netlink.c
nl-mac.c
nl-phy.c
nl802154.c
nl802154.h
nl_policy.c
rdev-ops.h
socket.c
sysfs.c
sysfs.h
trace.c
trace.h