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 Jul 19 2019, 11:10 PM
Parents
rGb16d66754593: Use the __DECONST macro rather than hand rolling it.
Branches
Unknown
Tags
Unknown

Event Timeline