mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 23:02:02 -04:00
Remove a redundant use of min().
Reported by: rpokala X-MFC With: r311346
This commit is contained in:
parent
d3c06026c2
commit
8d65cba217
1 changed files with 1 additions and 2 deletions
|
|
@ -67,7 +67,6 @@ __FBSDID("$FreeBSD$");
|
|||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
#include <sys/libkern.h>
|
||||
#include <sys/lock.h>
|
||||
#include <sys/proc.h>
|
||||
#include <sys/rwlock.h>
|
||||
|
|
@ -276,7 +275,7 @@ again:
|
|||
#ifdef __LP64__
|
||||
exec_map_entries = 8 * mp_ncpus;
|
||||
#else
|
||||
exec_map_entries = min(8 * mp_ncpus, 2 * mp_ncpus + 4);
|
||||
exec_map_entries = 2 * mp_ncpus + 4;
|
||||
#endif
|
||||
exec_map_entry_size = round_page(PATH_MAX + ARG_MAX);
|
||||
exec_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr,
|
||||
|
|
|
|||
Loading…
Reference in a new issue