summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-03-04 21:14:00 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2025-04-12 04:58:53 +0300
commit1f8eb295790001e0f498e62c186130055d3d496f (patch)
treed969a71a9aa86847d6ba27bf15da11c814c02f54 /scripts/lib/kdoc
parentfc8a5ee50743516700d10a83c598b6adb3c2dbef (diff)
downloadlinux-1f8eb295790001e0f498e62c186130055d3d496f.tar.xz
scsi: target: Remove size arguments when calling strscpy()
The size parameter of strscpy() is optional because strscpy() uses sizeof() to determine the length of the destination buffer if it is not provided as an argument. Remove it to simplify the code. Remove some unnecessary curly braces. No functional changes intended. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Link: https://lore.kernel.org/r/20250304181400.78325-1-thorsten.blum@linux.dev Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/lib/kdoc')
0 files changed, 0 insertions, 0 deletions