]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: caif: remove unused name
authorJakub Kicinski <kuba@kernel.org>
Wed, 11 Sep 2024 01:52:28 +0000 (18:52 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 13 Sep 2024 03:29:04 +0000 (20:29 -0700)
commit5905c024a776c7f592581551993817aaf0cd1f36
treecdea44cfa6ed488d75a840ae7f7f234fc4c657c9
parentb2155807893aac40f1a1cdf43f7fcc270cbfc05a
net: caif: remove unused name

Justin sent a patch to use strscpy_pad() instead of strncpy()
on the name field. Simon rightly asked why the _pad() version
is used, and looking closer name seems completely unused,
the last code which referred to it was removed in
commit 8391c4aab1aa ("caif: Bugfixes in CAIF netdevice for close and flow control")

Link: https://lore.kernel.org/20240909-strncpy-net-caif-chnl_net-c-v1-1-438eb870c155@google.com
Reviewed-by: Simon Horman <horms@kernel.org>
Acked-by: Justin Stitt <justinstitt@google.com>
Link: https://patch.msgid.link/20240911015228.1555779-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/caif/chnl_net.c