[PATCHv2,1/3] cr-restore: Remove unnecessay line

Submitted by Radostin Stoyanov on Nov. 17, 2018, 11:53 a.m.

Details

Message ID 20181117115329.16424-1-rstoyanov1@gmail.com
State New
Series "Series without cover letter"
Headers show

Commit Message

Radostin Stoyanov Nov. 17, 2018, 11:53 a.m.
Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com>
Acked-by: Cyrill Gorcunov <gorcunov@gmail.com>
---
 criu/cr-restore.c | 1 -
 1 file changed, 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/criu/cr-restore.c b/criu/cr-restore.c
index 6086d652..8fb2764d 100644
--- a/criu/cr-restore.c
+++ b/criu/cr-restore.c
@@ -144,7 +144,6 @@  static inline int stage_participants(int next_stage)
 	case CR_STATE_RESTORE:
 		return task_entries->nr_threads + task_entries->nr_helpers;
 	case CR_STATE_RESTORE_SIGCHLD:
-		return task_entries->nr_threads;
 	case CR_STATE_RESTORE_CREDS:
 		return task_entries->nr_threads;
 	}