floppy: replace NO_GEOM macro with a function
authorPekka Enberg <penberg@kernel.org>
Mon, 8 Nov 2010 13:44:34 +0000 (14:44 +0100)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 8 Nov 2010 13:44:34 +0000 (14:44 +0100)
commit2b51dca79a105dea022776ea7874193239df7fbd
tree55a50c05701b32e055f0fca576fddf22438ee63c
parentf6f94e2ab1b33f0082ac22d71f66385a60d8157f
floppy: replace NO_GEOM macro with a function

This patch replaces the NO_GEOM macro with a proper static inline function and
converts an open-coded caller in check_floppy_change() to use it.

Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/floppy.c