From: Mike Christie Date: Fri, 18 May 2012 04:56:58 +0000 (-0500) Subject: [SCSI] remove old comment from block/unblock functions X-Git-Tag: v3.6-rc1~103^2~85 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d075498c987623107f7bface4dad72fe9260a0d3;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git [SCSI] remove old comment from block/unblock functions We do not hold the host lock when calling these functions, so remove comment. Signed-off-by: Mike Christie Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 36521a0..9f00c12 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -2411,7 +2411,6 @@ EXPORT_SYMBOL(scsi_target_resume); * (which must be a legal transition). When the device is in this * state, all commands are deferred until the scsi lld reenables * the device with scsi_device_unblock or device_block_tmo fires. - * This routine assumes the host_lock is held on entry. */ int scsi_internal_device_block(struct scsi_device *sdev) @@ -2455,8 +2454,7 @@ EXPORT_SYMBOL_GPL(scsi_internal_device_block); * Notes: * This routine transitions the device to the SDEV_RUNNING state * or to one of the offline states (which must be a legal transition) - * allowing the midlayer to goose the queue for this device. This - * routine assumes the host_lock is held upon entry. + * allowing the midlayer to goose the queue for this device. */ int scsi_internal_device_unblock(struct scsi_device *sdev,