libata: Remove FIXME comment in atapi_request_sense()
authorNicholas Krause <xerofoify@gmail.com>
Tue, 2 Dec 2014 22:09:02 +0000 (17:09 -0500)
committerTejun Heo <tj@kernel.org>
Thu, 4 Dec 2014 17:58:50 +0000 (12:58 -0500)
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>
drivers/ata/libata-scsi.c

index 1db6eab..6a5fcf1 100644 (file)
@@ -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