[SCSI] aic7xxx_old, eata_pio, ips, libsas: don't zero out sense_buffer in queuecommand
authorFUJITA Tomonori <tomof@acm.org>
Sun, 13 Jan 2008 06:46:12 +0000 (15:46 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 23 Jan 2008 17:29:26 +0000 (11:29 -0600)
commit94aa5e5f6251ca0e1d77e083f8c2f9f40ee548c5
treec925a5a49f17331f069be6815b72983b03514702
parent382db811a8cc1427efabdc959cd1aeef8685ffa6
[SCSI] aic7xxx_old, eata_pio, ips, libsas: don't zero out sense_buffer in queuecommand

LLDs don't need to zero out scsi_cmnd::sense_buffer in queuecommand
since scsi-ml does. This is a preparation of the future changes to
allocate the sense_buffer only when necessary.

Many LLDs zero out the sense_buffer before touching it on the error
case. This patch lets them alone for now because new APIs for them
would be added later on.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: "Salyzyn, Mark" <Mark_Salyzyn@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/aic7xxx_old.c
drivers/scsi/eata_pio.c
drivers/scsi/ips.c
drivers/scsi/libsas/sas_scsi_host.c