diff options
author | Herton Ronaldo Krzesinski | 2012-08-27 20:56:55 -0300 |
---|---|---|
committer | Jens Axboe | 2012-10-30 08:34:25 +0100 |
commit | 8d3ab4ebfd7435bc248873de47d0ca23076c4973 (patch) | |
tree | 7e042c6419e63f9c4ec19de6bacde87450164976 /firmware | |
parent | d60e7ec18c3fb2cbf90969ccd42889eb2d03aef9 (diff) |
floppy: use common function to check if floppies can be registered
The same checks to see if a drive can be or is registered are
repeated through the code, factor out the checks in a common function
and replace the repeated checks with it.
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>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions