• Konstantin Belousov's avatar
    uipc_shm: silent warnings about write-only variables in largepage code · 3b5331dd
    Konstantin Belousov authored
    In shm_largepage_phys_populate(), the result from vm_page_grab() is only
    needed for assertion.
    
    In shm_dotruncate_largepage(), there is a commented-out prototype code
    for managed largepages.   The oldobjsz is saved for its sake, so mark
    the variable as __unused directly.
    
    Sponsored by:	The FreeBSD Foundation
    MFC after:	1 week
    3b5331dd