diff options
| author | Rafael J. Wysocki <[email protected]> | 2007-07-19 01:47:35 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-07-19 10:04:42 -0700 |
| commit | c2cf7d87d804c66e063829d5ca739053e901dc15 (patch) | |
| tree | 0c8217d9dca6a3ffcf4073315a6a8f6328639b3a /include/linux | |
| parent | e7cd8a722745a01bcfac4d4a52d53391d177da20 (diff) | |
Freezer: remove redundant check in try_to_freeze_tasks
We don't need to check if todo is positive before calling time_after() in
try_to_freeze_tasks(), because if todo is zero at this point, the loop will be
broken anyway due to the while () condition being false.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Cc: Gautham R Shenoy <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions