diff options
| author | Davidlohr Bueso <[email protected]> | 2016-12-14 23:06:46 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2016-12-15 00:04:08 +0000 |
| commit | b5fa01a22e4ba9e3ca6de7cb94c3d21e42da449c (patch) | |
| tree | 2fcea15a5c609e51abf25e6cff6e1630627ed068 /drivers/gpu/drm/omapdrm/omap_gem.c | |
| parent | ipc/sem: use proper list api for pending_list wakeups (diff) | |
| download | kernel-b5fa01a22e4ba9e3ca6de7cb94c3d21e42da449c.tar.gz kernel-b5fa01a22e4ba9e3ca6de7cb94c3d21e42da449c.zip | |
ipc/sem: simplify wait-wake loop
Instead of using the reverse goto, we can simplify the flow and make it
more language natural by just doing do-while instead. One would hope
this is the standard way (or obviously just with a while bucle) that we
do wait/wakeup handling in the kernel. The exact same logic is kept,
just more indented.
[[email protected]: coding-style fixes]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Davidlohr Bueso <[email protected]>
Cc: Manfred Spraul <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
0 files changed, 0 insertions, 0 deletions
