Use macro MAX() from sys/param.h.

MFC after:	2 weeks.
This commit is contained in:
Marcelo Araujo 2016-04-22 05:07:59 +00:00
parent 7cd9b96b7a
commit a301ee66ba
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298447

View File

@ -141,7 +141,7 @@ pmcc_do_enable_disable(struct pmcc_op_list *op_list)
err(EX_OSERR,
"Unable to determine the number of PMCs in CPU %d",
c);
npmc = t > npmc ? t : npmc;
npmc = MAX(t, npmc);
}
if (npmc == 0)