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 mac802154: Handle basic beaconing 2023-01-28 13:55:10 +01:00
ieee802154.h
netlink.c
nl-mac.c
nl-phy.c
nl802154.c net: ieee802154: remove an unnecessary null pointer check 2023-03-17 09:13:53 +01:00
nl802154.h ieee802154: Add support for user beaconing requests 2023-01-28 13:51:22 +01:00
nl_policy.c
rdev-ops.h ieee802154: Add support for user beaconing requests 2023-01-28 13:51:22 +01:00
socket.c
sysfs.c
sysfs.h
trace.c
trace.h ieee802154: Add support for user beaconing requests 2023-01-28 13:51:22 +01:00