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 <christophe.jaillet@wanadoo.fr>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-02-06 15:36:06 +01:00
..
2021-10-11 17:00:51 -07:00
2021-07-30 17:22:52 +02:00
2021-07-25 09:21:21 +01:00
2021-10-11 17:00:51 -07:00
2021-07-25 09:21:21 +01:00