summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-03-11 12:06:24 +0100
committerThomas Gleixner <tglx@linutronix.de>2025-03-13 11:37:44 +0100
commitfc661d0a78673f23a3fd78d0bb20900ee64d1839 (patch)
tree7e4af2fe882b0570c01c56472e52fecee7a3412e /tools/perf/scripts/python/export-to-sqlite.py
parenta52067c24ccf6ee4c85acffa0f155e9714f9adce (diff)
clocksource: Remove unnecessary strscpy() size argument
The size argument of strscpy() is only required when the destination pointer is not a fixed sized array or when the copy needs to be smaller than the size of the fixed sized destination array. For fixed sized destination arrays and full copies, strscpy() automatically determines the length of the destination buffer if the size argument is omitted. This makes the explicit sizeof() unnecessary. Remove it. [ tglx: Massaged change log ] Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20250311110624.495718-2-thorsten.blum@linux.dev
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions