diff options
| author | Alexandru Hossu <hossu.alexandru@gmail.com> | 2026-03-05 11:23:18 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-03-09 17:47:00 +0100 |
| commit | e43627a7bf80747c68688e8e06518791f01c8147 (patch) | |
| tree | 8954d60942e297a6409b2c008f2aafd8720a28d4 /tools/perf/scripts/python | |
| parent | 436aa95b3cff392a4c9ff2ae8a02ee513b0130d3 (diff) | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
