commit | 1a4ae43e4feb570901667782678772fd31c1b125 | [log] [tgz] |
---|---|---|
author | Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com> | Tue Oct 30 08:36:07 2012 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Oct 30 08:36:07 2012 +0100 |
tree | fb918164c93bdae16f01fb4cf6823cb98fb875dd | |
parent | 8d3ab4ebfd7435bc248873de47d0ca23076c4973 [diff] |
floppy: remove dr, reuse drive on do_floppy_init This is a small cleanup, that also may turn error handling of unitialized disks more readable. We don't need a separate variable to track allocated disks, remove dr and reuse drive variable instead. Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Jens Axboe <axboe@kernel.dk>