diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-03-04 19:14:00 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-04-11 21:58:53 -0400 |
commit | 1f8eb295790001e0f498e62c186130055d3d496f (patch) | |
tree | d969a71a9aa86847d6ba27bf15da11c814c02f54 /tools/perf/scripts/python/task-analyzer.py | |
parent | fc8a5ee50743516700d10a83c598b6adb3c2dbef (diff) |
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 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions