Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9d9acda9 authored by Nicholas Krause's avatar Nicholas Krause Committed by Tejun Heo
Browse files

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: default avatarNicholas Krause <xerofoify@gmail.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent a3a84bc7
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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,