Files
linux/net/nfc
Christophe JAILLET 83cdd8db75 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 <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
2024-02-06 15:36:06 +01:00
..
…
2021-01-27 17:04:12 -08:00
…
2022-11-02 11:58:13 +00:00