mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
module/dups: Use scope-based cleanup helpers
Use scope-based cleanup helpers for kmod_dup_mutex and kmod_req to shorten the code and to clarify where the lock is taken in kmod_dup_request_exists_wait(). Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
This commit is contained in:
parent
96e6f752fc
commit
c85e76535b
1 changed files with 23 additions and 33 deletions
Loading…
Add table
Add a link
Reference in a new issue