HomeFreeBSD

LinuxKPI: Remove the temporary variable fileid from the macro request_module

Description

LinuxKPI: Remove the temporary variable fileid from the macro request_module

The variable fileid stores the result from kern_kldload() but never gets
used. Since the third parameter *fileid of kern_kldload() can be NULL,
this unused variable can be safely removed.

No functional change intended.

Reviewed by: emaste, bz, linuxkpi
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D44583

(cherry picked from commit 317cc829ee227cfdffe7b25125c070112ce0c2f1)

Details

Provenance
zleiAuthored on Apr 5 2024, 4:26 PM
Reviewer
linuxkpi
Differential Revision
D44583: LinuxKPI: Remove an unused local var fileid from the macro request_module
Parents
rGfb8eb2042dbe: pciconf(8): dump AMD IOMMU Base Capability
Branches
Unknown
Tags
Unknown