diff options
| author | Alex Elder <elder@linaro.org> | 2021-06-10 22:23:03 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-06-11 00:50:08 +0300 |
| commit | 07c525a62a4db207e298064b026b8f3f8da192a6 (patch) | |
| tree | ef2b0a20337b1608c99d9b109c5f2e81ffb0f5ca /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | ce05a9f39607623362aea9147c3dfab7a9f94ccb (diff) | |
| download | linux-07c525a62a4db207e298064b026b8f3f8da192a6.tar.xz | |
net: ipa: pass mem_id to ipa_filter_reset_table()
Pass a memory region ID rather than the address of a memory region
descriptor to ipa_filter_reset_table(), to simplify callers.
We can eliminate the check for a zero region size in this function
because ipa_table_reset_add() checks that before adding anything to
the transaction.
Note that here and in subsequent commits there is no need to check
whether a memory region exists, because we will have already
verified that during initialization.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
