Non-operational change, fix compiler warning.
Reviewed by: mckusick
This commit is contained in:
parent
9bfb3cb2c7
commit
173cce7c8e
@ -640,7 +640,7 @@ softdep_move_dependencies(oldbp, newbp)
|
||||
panic("softdep_move_dependencies: need merge code");
|
||||
wktail = 0;
|
||||
ACQUIRE_LOCK(&lk);
|
||||
while (wk = LIST_FIRST(&oldbp->b_dep)) {
|
||||
while ((wk = LIST_FIRST(&oldbp->b_dep)) != NULL) {
|
||||
LIST_REMOVE(wk, wk_list);
|
||||
if (wktail == 0)
|
||||
LIST_INSERT_HEAD(&newbp->b_dep, wk, wk_list);
|
||||
|
@ -640,7 +640,7 @@ softdep_move_dependencies(oldbp, newbp)
|
||||
panic("softdep_move_dependencies: need merge code");
|
||||
wktail = 0;
|
||||
ACQUIRE_LOCK(&lk);
|
||||
while (wk = LIST_FIRST(&oldbp->b_dep)) {
|
||||
while ((wk = LIST_FIRST(&oldbp->b_dep)) != NULL) {
|
||||
LIST_REMOVE(wk, wk_list);
|
||||
if (wktail == 0)
|
||||
LIST_INSERT_HEAD(&newbp->b_dep, wk, wk_list);
|
||||
|
Loading…
Reference in New Issue
Block a user