HomeFreeBSD

Do pass removing some write-only variables from the kernel.

Description

Do pass removing some write-only variables from the kernel.

This reduces noise when kernel is compiled by newer GCC versions,
such as one used by external toolchain ports.

Reviewed by: kib, andrew(sys/arm and sys/arm64), emaste(partial), erj(partial)
Reviewed by: jhb (sys/dev/pci/* sys/kern/vfs_aio.c and sys/kern/kern_synch.c)
Differential Revision: https://reviews.freebsd.org/D10385

Details

Provenance
kanAuthored on
Reviewer
kib
Differential Revision
D10385: Remove many write-only variables from kernel
Parents
rS327172: MFC r326185: Set errno to EFTYPE instead of EINVAL to be more consistent
Branches
Unknown
Tags
Unknown