init.c: use list macro when removing pdus from the wait list
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 8 Jun 2014 14:21:43 +0000 (07:21 -0700)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 8 Jun 2014 14:21:43 +0000 (07:21 -0700)
Use the macro when removing the pdus in the wait list from the queues.
Also make sure to remove them from the right queue, from waitqueue and not
the outqueue for PDUs we have already sent out.

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>

No differences found