mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
staging: rtl8723bs: use kmemdup() in rtw_cfg80211_set_wpa_ie
Replace open-coded kzalloc()+memcpy() with kmemdup() to simplify the code. Signed-off-by: Alexandru Hossu <hossu.alexandru@gmail.com> Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://patch.msgid.link/20260305102318.43034-1-hossu.alexandru@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
436aa95b3c
commit
e43627a7bf
1 changed files with 1 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue