On Wed, 2006-11-22 at 14:39 +0000, Andy Whitcroft wrote: > scsi_device_put: unused variable module without CONFIG_MODULE_UNLOAD > > When CONFIG_MODULE_UNLOAD is not defined then the module variable > in scsi_device_put() becomes unused resulting in the warnings below. > Move this inside the existing #ifdef. > > .../drivers/scsi/scsi.c:883: warning: unused variable 'module' Actually, the fix for this is already in scsi-misc, so it should be making its way into -mm. James - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html