diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-03-18 09:07:55 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-04-09 20:11:46 +0200 |
commit | cfdb7520f901a9696e1dc825b0a8ed9c664d58aa (patch) | |
tree | 2b72135191a74ba9b6c17ee9f41e3504a6012173 /scripts/lib/kdoc/kdoc_output.py | |
parent | 0af2f6be1b4281385b618cb86ad946eded089ac8 (diff) |
PM: hibernate: Remove size arguments 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() calls unnecessary. Remove
them to shorten and simplify the code.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://patch.msgid.link/20250318080755.61126-2-thorsten.blum@linux.dev
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions