|
@@ -733,10 +733,7 @@ static void lkb_add_ordered(struct list_head *new, struct list_head *head,
|
|
|
if (lkb->lkb_rqmode < mode)
|
|
|
break;
|
|
|
|
|
|
- if (!lkb)
|
|
|
- list_add_tail(new, head);
|
|
|
- else
|
|
|
- __list_add(new, lkb->lkb_statequeue.prev, &lkb->lkb_statequeue);
|
|
|
+ __list_add(new, lkb->lkb_statequeue.prev, &lkb->lkb_statequeue);
|
|
|
}
|
|
|
|
|
|
/* add/remove lkb to rsb's grant/convert/wait queue */
|