Skip to content

futex: Minor code improvements

André Almeida lkml 2 versions – Applied

Status from this message: The following commit has been merged into the locking/core branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/24 patches 3 repliesApplied
  2. v1 posting 1/24 patches 0 repliesSuperseded

Patches in v1 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/4futex: Remove put_futex_key()kernel/futex.c+12 -490 replies
2/4futex: Remove needless goto'skernel/futex.c+16 -240 replies
3/4futex: Remove unused or redundant includeskernel/futex.c+0 -183 replies
4/4futex: Consistently use fshared as booleankernel/futex.c+5 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RESEND PATCH 0/4] futex: Minor code improvements

Hello,

This series aims to make some small code improvements that I found in futex.c, removing some lines and trying to make the code easier to read and understand.

All commits tested with futex tests from kselftest.

Thanks,
André

André Almeida (4):
futex: Remove put_futex_key()
futex: Remove needless goto's
futex: Remove unused or redundant includes
futex: Consistently use fshared as boolean

 kernel/futex.c | 114 +++++++++++--------------------------------------
 1 file changed, 26 insertions(+), 88 deletions(-)
Signature · 1 line
2.27.0