Quoting Daniel Vetter (2017-07-19 13:55:02)
The core already does this in setup_commit(). With this we can also remove the unpin_work_count since it's the last user.
Also note that the loop only existed for the legacy pageflip support, with that removed it becomes entirely redundant. -Chris