[SCSI] bsg: fix unused variable warnings for BLK_DEV_BSG=n
authorJames Bottomley <James.Bottomley@steeleye.com>
Mon, 23 Jul 2007 14:53:51 +0000 (09:53 -0500)
committerJames Bottomley <jejb@mulgrave.localdomain>
Tue, 24 Jul 2007 18:24:05 +0000 (14:24 -0400)
commita4ee0df8b3d007f0d685d38a56dc0b91e01aaaf7
tree3b805b164df128ebb15e71dd915c9a14e2da31cd
parent2cd614c8732172524c36cd5245620338928062b6
[SCSI] bsg: fix unused variable warnings for BLK_DEV_BSG=n

Just using #defines for the
bsg_register_queue()/bsg_unregister_queue() can cause undefined
variables when they're defined to nothing.  Use dummy inline functions
instead.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
include/linux/bsg.h