diff options
author | Paolo Abeni <pabeni@redhat.com> | 2024-02-06 17:36:09 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-02-06 17:36:09 +0300 |
commit | 60b4dfcda647f86c62dc7b8219d2bfed19bb2698 (patch) | |
tree | bb91bb5363cafa206f4fbd36f82e4eb868dba776 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 06e6bc1b7aafa309c38d9d6623e8be3846647207 (diff) | |
parent | 83cdd8db75085f3e415f420d6022f9c813ea50af (diff) | |
download | linux-60b4dfcda647f86c62dc7b8219d2bfed19bb2698.tar.xz |
Merge branch 'nfc-hci-save-a-few-bytes-of-memory-when-registering-a-nfc_llc-engine'
Christophe says:
====================
nfc: hci: Save a few bytes of memory when registering a 'nfc_llc' engine
nfc_llc_register() calls pass a string literal as the 'name' parameter.
So kstrdup_const() can be used instead of kfree() to avoid a memory
allocation in such cases.
====================
Link: https://lore.kernel.org/r/cover.1706946099.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions