Skip to content
Commit ad6f5cc5 authored by Yang Li's avatar Yang Li Committed by Stefan Schmidt
Browse files

net/ieee802154: drop unneeded assignment in llsec_iter_devkeys()



In order to keep the code style consistency of the whole file,
redundant return value ‘rc’ and its assignments should be deleted

The clang_analyzer complains as follows:
net/ieee802154/nl-mac.c:1203:12: warning: Although the value stored to
'rc' is used in the enclosing expression, the value is never actually
read from 'rc'

No functional change, only more efficient.

Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: default avatarYang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/1619346299-40237-1-git-send-email-yang.lee@linux.alibaba.com


Signed-off-by: default avatarStefan Schmidt <stefan@datenfreihafen.org>
parent 9fdd0491
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment