diff options
author | Nicholas Krause <xerofoify@gmail.com> | 2015-01-07 00:44:52 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-01-07 10:07:20 -0500 |
commit | 9d9acda9ba956a5d37e61e0ce6c579a67610bd05 (patch) | |
tree | c4834dbe0b8612283a6e813f85d8d331c6b42c16 /drivers | |
parent | a3a84bc7c885eee954f1971c43e36a3587fbf565 (diff) | |
download | linux-9d9acda9ba956a5d37e61e0ce6c579a67610bd05.tar.bz2 |
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: Nicholas Krause <xerofoify@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ata/libata-eh.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c index 8d00c2638bed..a9f5aed32d39 100644 --- a/drivers/ata/libata-eh.c +++ b/drivers/ata/libata-eh.c @@ -1635,7 +1635,6 @@ unsigned int atapi_eh_request_sense(struct ata_device *dev, DPRINTK("ATAPI request sense\n"); - /* FIXME: is this needed? */ memset(sense_buf, 0, SCSI_SENSE_BUFFERSIZE); /* initialize sense_buf with the error register, |