HomeFreeBSD

xen/grant_table: cleanup max_nr_grant_frames()

Description

xen/grant_table: cleanup max_nr_grant_frames()

This is no more or less than returning the smaller of two values. Since
this is what min() does, use that to shrink max_nr_grant_frames() down
to the single line.

Reviewed by: royger
Differential Revision: https://reviews.freebsd.org/D29840

Details

Provenance
ehem_freebsd_m5p.comAuthored on Apr 10 2021, 6:12 AM
roygerCommitted on Jul 28 2021, 3:27 PM
Reviewer
royger
Differential Revision
D29840: xen/grant_table: cleanup max_nr_grant_frames()
Parents
rG0b4f30c2366c: xen/control: introduce xen_pv_shutdown_handler()
Branches
Unknown
Tags
Unknown