diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-02-03 08:51:04 +0100 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2024-02-06 15:36:06 +0100 |
| commit | 83cdd8db75085f3e415f420d6022f9c813ea50af (patch) | |
| tree | bb91bb5363cafa206f4fbd36f82e4eb868dba776 /scripts/objdiff | |
| parent | nfc: hci: Introduce nfc_llc_del_engine() to reduce code duplication (diff) | |
| download | linux-83cdd8db75085f3e415f420d6022f9c813ea50af.tar.gz linux-83cdd8db75085f3e415f420d6022f9c813ea50af.zip | |
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.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
