[SCSI] kill scsi_rety_command
authorChristoph Hellwig <hch@lst.de>
Tue, 2 Jan 2007 11:56:00 +0000 (12:56 +0100)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 13 Jan 2007 19:50:21 +0000 (13:50 -0600)
commit596f482a90ae27ea1b3da6a12ee42909045fbfd0
tree9a17313c93aacb1ac7a0c1a567d52ee3a87d1dd6
parentc27d85f3f3c5c663d6b6295730e8a7c0c3f9a296
[SCSI] kill scsi_rety_command

scsi_retry_command only has a single caller, so there is no point
in having this function.  Additionally the memset of the sense
buffer it does is entirely superflous as scsi_request_fn already
calls scsi_init_cmd_errh to perform this memset before the command
is reissued.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi.c
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_priv.h