HomeFreeBSD

LinuxKPI: fix -Wunused-but-set-variable warnings

Description

LinuxKPI: fix -Wunused-but-set-variable warnings

Handle write-only variables by removing the unused return value from void
functions or removing the unused variables entirely.

Sponsored by: The FreeBSD Foundation
MFC after: 10 days
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D33107

Details

Provenance
bzAuthored on Nov 24 2021, 9:20 PM
Reviewer
imp
Differential Revision
D33107: LinuxKPI: fix -Wunused-but-set-variable warnings
Parents
R10:873606999f88: unionfs: plug a set-but-not-unused var
Branches
Unknown
Tags
Unknown