diff options
| author | Jacob Keller <[email protected]> | 2017-04-19 09:25:56 -0400 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2017-04-30 04:50:18 -0700 |
| commit | 789f38ca70e0b2848472aaf5f278aa3deabd4a4e (patch) | |
| tree | d66e47409c626d694b3bc92bb52fed9313763752 /tools/perf/scripts/python | |
| parent | 0da36b9774cc24bac4bff446edf49f31aa98a282 (diff) | |
i40evf: remove needless min_t() on num_online_cpus()*2
We already set pairs to the value of adapter->num_active_queues. This
value is limited by vsi_res->num_queue_pairs and num_online_cpus(). This
means that pairs by definition is already smaller than
num_online_cpus()*2, so we don't even need to bother with this check.
Lets just remove it and update the comment.
Signed-off-by: Jacob Keller <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions