浏览代码

libata: Remove FIXME comment in atapi_request_sense()

Remove the FIXME comment in atapi_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.

tj: Updated description.

Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Nicholas Krause 10 年之前
父节点
当前提交
2ba520f0cd
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/ata/libata-scsi.c

+ 0 - 1
drivers/ata/libata-scsi.c

@@ -2595,7 +2595,6 @@ static void atapi_request_sense(struct ata_queued_cmd *qc)
 
 	DPRINTK("ATAPI request sense\n");
 
-	/* FIXME: is this needed? */
 	memset(cmd->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE);
 
 #ifdef CONFIG_ATA_SFF