[1/9] futex: Remove unused uaddr2 in restart_block

Submitted by Jann Horn via Containers on Sept. 9, 2019, 10:23 a.m.

Details

Message ID 20190909102340.8592-2-dima@arista.com
State New
Series "restart_block: Prepare the ground for dumping timeout"
Headers show

Commit Message

Jann Horn via Containers Sept. 9, 2019, 10:23 a.m.
Not used since introduction in commit 52400ba94675 ("futex: add
requeue_pi functionality").
The result union stays the same size, so nothing saved in task_struct,
but still one __user pointer less to keep.

Signed-off-by: Dmitry Safonov <dima@arista.com>
---
 include/linux/restart_block.h | 1 -
 1 file changed, 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/include/linux/restart_block.h b/include/linux/restart_block.h
index bba2920e9c05..e5078cae5567 100644
--- a/include/linux/restart_block.h
+++ b/include/linux/restart_block.h
@@ -32,7 +32,6 @@  struct restart_block {
 			u32 flags;
 			u32 bitset;
 			u64 time;
-			u32 __user *uaddr2;
 		} futex;
 		/* For nanosleep */
 		struct {