cdrom: use list_head for cdrom_device_info list

Use list_head for cdrom_device_info list instead of opencoded
singly list handling.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
Akinobu Mita 2008-03-26 12:09:02 +01:00 • committed by Jens Axboe
commit 7fd097d42b
2 changed files with 8 additions and 24 deletions