mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-18 18:15:59 +00:00
Use list_first_entry in locks_wake_up_blocks
This routine deletes all the elements from the list with the "while (!list_empty())" loop, and we already have a list_first_entry() macro to help it look nicer :) Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
This commit is contained in:
parent
02888f41e9
commit
f0c1cd0eaf
1 changed files with 3 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue