提交 9d9acda9 编写于 作者: N Nicholas Krause 提交者: Tejun Heo

libata: Remove FIXME comment in atapi_eh_request_sense

Remove the FIXME comment in  atapi_eh_request_sense () asking whether
memset of sense buffer is necessary.  The buffer may be partially or
fully filled by the device.  We want it to be cleared.
Signed-off-by: NNicholas Krause <xerofoify@gmail.com>
Signed-off-by: NTejun Heo <tj@kernel.org>
上级 a3a84bc7
...@@ -1635,7 +1635,6 @@ unsigned int atapi_eh_request_sense(struct ata_device *dev, ...@@ -1635,7 +1635,6 @@ unsigned int atapi_eh_request_sense(struct ata_device *dev,
DPRINTK("ATAPI request sense\n"); DPRINTK("ATAPI request sense\n");
/* FIXME: is this needed? */
memset(sense_buf, 0, SCSI_SENSE_BUFFERSIZE); memset(sense_buf, 0, SCSI_SENSE_BUFFERSIZE);
/* initialize sense_buf with the error register, /* initialize sense_buf with the error register,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册