HomeFreeBSD

Remove an unneeded temporary variable in two functions.

Description

Remove an unneeded temporary variable in two functions.

There is no need to convert an intptr_t to a long just to cast it to a
(void *).

Obtained from: CheriBSD
MFC after: 1 week
Sponsored by: DARPA, AFRL

Details

Provenance
brooksAuthored on
Parents
rS350157: Use the __DECONST macro rather than hand rolling it.
Branches
Unknown
Tags
Unknown