[SCSI] kill scsi host template suspend/resume

With libata converted to use sdev->manage_start_stop for suspend and
resume, sht->suspend/resume() has no user left and low level
suspend/ressume should be taken care of by low level driver's
suspend/resume callbacks (e.g. PCI or PCMCIA driver callbacks).  This
patch removes sht->suspend/resume() callbacks.

This change is suggested by Christoph Hellwig.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
Tejun Heo 2007-03-21 16:05:16 +09:00 committed by James Bottomley
parent 67b2009ae2
commit 1dfcda06a6
2 changed files with 3 additions and 28 deletions

View file

@ -338,12 +338,6 @@ struct scsi_host_template {
*/
enum scsi_eh_timer_return (* eh_timed_out)(struct scsi_cmnd *);
/*
* suspend support
*/
int (*resume)(struct scsi_device *);
int (*suspend)(struct scsi_device *, pm_message_t state);
/*
* Name of proc directory
*/