HomeFreeBSD

zvol: remove void return casts on void-returning functions

Description

zvol: remove void return casts on void-returning functions

Casting unused returns to (void) is already of dubious value, but it's
entirely meaningless on functions that are defined as void return.
Remove the clutter.

Reviewed-by: Allan Jude <allan@klarasystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com>
Reviewed-by: Fedor Uporov <fuporov.vstack@gmail.com>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Sponsored-by: Klara, Inc.
Sponsored-by: Railway Corporation
Closes #17596

Details

Provenance
rob.norris_klarasystems.comAuthored on Aug 5 2025, 2:32 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 7 2025, 6:34 PM
Parents
rG0c376d0f59f3: Document the new '-a' zpool option
Branches
Unknown
Tags
Unknown