diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-08-11 18:40:38 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-08-12 17:13:29 -0700 |
| commit | b3ba7d929ce197ff2651046798b94bd62eb0e680 (patch) | |
| tree | 5c3bda5c983af15972a69b0e8b03b086d9970a47 /rust/helpers/platform.c | |
| parent | 86e3d52bd3e919181d5f7e5107065d16e694c8d8 (diff) | |
net/sched: Remove redundant memset(0) call in reset_policy()
The call to nla_strscpy() already zero-pads the tail of the destination
buffer which makes the additional memset(0) call redundant. Remove it.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Joe Damato <joe@dama.to>
Link: https://patch.msgid.link/20250811164039.43250-1-thorsten.blum@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
