From: Herton Ronaldo Krzesinski Date: Mon, 27 Aug 2012 23:56:55 +0000 (-0300) Subject: floppy: use common function to check if floppies can be registered X-Git-Tag: v3.7-rc4~23^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d3ab4ebfd7435bc248873de47d0ca23076c4973;p=pandora-kernel.git 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 Signed-off-by: Jiri Kosina Signed-off-by: Jens Axboe --- Reading git-diff-tree failed