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)
(cherry picked from commit d4d5aed66a3f4323cf23f1a849b98d8570b403bf)

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
rG15ce8a1cc1be: mem.4: Correct the HISTORY section
Branches
Unknown
Tags
Unknown