mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
ipv6: remove unnecessary reset of position pointer
The position pointer is only advanced if the return value of the proc handler is positive at new_sync_write(). Therefore no need to manually reset it when doing error handling. Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Fernando Fernandez Mancera <fmancera@suse.de> Link: https://patch.msgid.link/20260727091834.6645-2-fmancera@suse.de Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
parent
ea771e17e9
commit
ac84c85518
1 changed files with 4 additions and 20 deletions
Loading…
Add table
Add a link
Reference in a new issue