diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2024-01-28 09:53:51 +0300 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2024-02-02 15:47:46 +0300 |
| commit | 2f72c759fdd413bbfd8888af8e31312b34d2be33 (patch) | |
| tree | 72ea67daefe246bc2e9fdb34928bc48a5c9eb37d /scripts | |
| parent | 8a41c017409198dd4de5a4c522cd5ae4810a5911 (diff) | |
| download | linux-2f72c759fdd413bbfd8888af8e31312b34d2be33.tar.xz | |
wifi: iwlwifi: dbg-tlv: avoid extra allocation/copy
In iwl_dbg_tlv_alloc_trigger() the code makes a copy just
to modify it and pass it to another function to make a copy
again. Change the API to return the copy so the adjustment
can be done without another copy.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Gregory Greenman <gregory.greenman@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240128084842.075c8b9f7030.Id5a61e1a87a9c6932727fb4e2c9b54ed6070362a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
