diff options
| author | Qingfang Deng <qingfang.deng@linux.dev> | 2026-04-07 17:40:56 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-09 20:03:48 -0700 |
| commit | 5ecbebc9483c61280153ebdceda5f4db7ae63d18 (patch) | |
| tree | 0e821e9664621004236d9257d3ba69233afe1b5b /tools/testing/vma/include/git@git.tavy.me:linux.git | |
| parent | 84c5a3f00084ffd741a4c3261a58dd10cd5aceaf (diff) | |
ppp: consolidate refcount decrements
ppp_destroy_{channel,interface} are always called after
refcount_dec_and_test().
To reduce boilerplate code, consolidate the decrements by moving them
into the two functions. To reflect this change in semantics, rename the
functions to ppp_release_*.
Signed-off-by: Qingfang Deng <qingfang.deng@linux.dev>
Link: https://patch.msgid.link/20260407094058.257246-1-qingfang.deng@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
