diff options
author | Dongliang Mu <dzm91@hust.edu.cn> | 2023-03-08 11:32:31 +0300 |
---|---|---|
committer | Stefan Schmidt <stefan@datenfreihafen.org> | 2023-03-17 11:13:53 +0300 |
commit | 984cfd55e0c99e80b2e5b1dc6b2bf98608af7ff9 (patch) | |
tree | 51a6e9b16a9c719b70ba49e1a499addd6ff34563 /drivers/net | |
parent | 748b2f5e82d17480404b3e2895388fc2925f7caf (diff) | |
download | linux-984cfd55e0c99e80b2e5b1dc6b2bf98608af7ff9.tar.xz |
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>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions