summaryrefslogtreecommitdiff
path: root/drivers/block/brd.c
diff options
context:
space:
mode:
authorHerton Ronaldo Krzesinski <herton.krzesinski@canonical.com>2012-08-28 03:56:55 +0400
committerJens Axboe <axboe@kernel.dk>2012-10-30 11:34:25 +0400
commit8d3ab4ebfd7435bc248873de47d0ca23076c4973 (patch)
tree7e042c6419e63f9c4ec19de6bacde87450164976 /drivers/block/brd.c
parentd60e7ec18c3fb2cbf90969ccd42889eb2d03aef9 (diff)
downloadlinux-8d3ab4ebfd7435bc248873de47d0ca23076c4973.tar.xz
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 'drivers/block/brd.c')
0 files changed, 0 insertions, 0 deletions