diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-03-08 20:46:32 +0100 |
---|---|---|
committer | Petr Pavlu <petr.pavlu@suse.com> | 2025-03-10 11:56:26 +0100 |
commit | 085c5e37427d22381efa6e8a660dd810e8ef36ef (patch) | |
tree | 9bd59ddbc96136999d448311de343cba2f62f8a4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6380bf8ff90213282a7a7f99697964a9c2bd6899 (diff) | |
download | linux-stable-085c5e37427d22381efa6e8a660dd810e8ef36ef.tar.gz linux-stable-085c5e37427d22381efa6e8a660dd810e8ef36ef.tar.bz2 linux-stable-085c5e37427d22381efa6e8a660dd810e8ef36ef.zip |
module: Remove unnecessary size argument when calling strscpy()
The size parameter is optional and strscpy() automatically determines
the length of the destination buffer using sizeof() if the argument is
omitted. This makes the explicit sizeof() unnecessary. Remove it to
shorten and simplify the code.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://lore.kernel.org/r/20250308194631.191670-2-thorsten.blum@linux.dev
Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions