From: James Bottomley Date: Mon, 23 Jul 2007 14:53:51 +0000 (-0500) Subject: [SCSI] bsg: fix unused variable warnings for BLK_DEV_BSG=n X-Git-Tag: v2.6.23-rc2~164^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4ee0df8b3d007f0d685d38a56dc0b91e01aaaf7;p=pandora-kernel.git [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 --- Reading git-diff-tree failed