summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-03-04 19:14:00 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2025-04-11 21:58:53 -0400
commit1f8eb295790001e0f498e62c186130055d3d496f (patch)
treed969a71a9aa86847d6ba27bf15da11c814c02f54 /tools/perf/scripts/python/stackcollapse.py
parentfc8a5ee50743516700d10a83c598b6adb3c2dbef (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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions