summaryrefslogtreecommitdiff
path: root/drivers/net/ipa/ipa_mem.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2021-06-10 14:23:03 -0500
committerDavid S. Miller <davem@davemloft.net>2021-06-10 14:50:08 -0700
commit07c525a62a4db207e298064b026b8f3f8da192a6 (patch)
treeef2b0a20337b1608c99d9b109c5f2e81ffb0f5ca /drivers/net/ipa/ipa_mem.c
parentce05a9f39607623362aea9147c3dfab7a9f94ccb (diff)
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 'drivers/net/ipa/ipa_mem.c')
0 files changed, 0 insertions, 0 deletions