diff options
author | Nicholas Krause <xerofoify@gmail.com> | 2014-12-03 01:09:02 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-12-04 20:58:50 +0300 |
commit | 2ba520f0cd65c2e688f8beb495bb6634a61ee17b (patch) | |
tree | 1c9b59df00724ec948e644fcb972d214df295cb8 /drivers/ata | |
parent | 598e9a9005ef3ad7540227c9161f7cfbdccd0dbe (diff) | |
download | linux-2ba520f0cd65c2e688f8beb495bb6634a61ee17b.tar.xz |
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>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/libata-scsi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index 1db6eab6dac3..6a5fcf14dbc3 100644 --- a/drivers/ata/libata-scsi.c +++ b/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 |