pid arrays: Remove redundant assignment
PATCH 1/1 pid arrays: Remove redundant assignment
The only way the preceding loop will terminate is if n already has this value.
Signed-off-by Matt Helsley <matthltc-r/[email protected]>
--- checkpoint/checkpoint.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
checkpoint/checkpoint.c +0 -1
@@ -490,7 +490,6 @@ static int checkpoint_pids(struct ckpt_ctx *ctx) }rcu_read_unlock (); - n =min (nr_tasks,CKPT_HDR_PIDS_CHUNK ); ret =ckpt_kwrite (ctx, h, n *sizeof (*h));if (ret <0 )break ;
Signature · 1 line
1.5.6.3