diff options
author | 2021-11-24 14:25:10 -0600 | |
---|---|---|
committer | 2021-11-25 19:37:34 -0800 | |
commit | 7ece9eaa3f16cec20f3138bab84f4fc98eff0ec8 (patch) | |
tree | 1c45cbaaf483ecd4eb41cf7469169678ef8c9eec /net/unix/af_unix.c | |
parent | net: ipa: skip SKB copy if no netdev (diff) | |
download | wireguard-linux-7ece9eaa3f16cec20f3138bab84f4fc98eff0ec8.tar.xz wireguard-linux-7ece9eaa3f16cec20f3138bab84f4fc98eff0ec8.zip |
net: ipa: GSI only needs one completion
A mutex ensures we never submit more than one GSI command of any
kind at once. This means the per-channel and per-event ring
completion structures provide no benefit. Instead, just use the
single (existing) GSI completion to signal the completion of GSI
commands of all types.
This makes gsi_evt_ring_init() a trivial function with no inverse,
so open-code it in its sole caller and get rid of the function.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions