summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorQingfang Deng <qingfang.deng@linux.dev>2026-04-07 12:40:56 +0300
committerJakub Kicinski <kuba@kernel.org>2026-04-10 06:03:48 +0300
commit5ecbebc9483c61280153ebdceda5f4db7ae63d18 (patch)
tree0e821e9664621004236d9257d3ba69233afe1b5b /lib/debugobjects.c
parent84c5a3f00084ffd741a4c3261a58dd10cd5aceaf (diff)
downloadlinux-5ecbebc9483c61280153ebdceda5f4db7ae63d18.tar.xz
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 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions