diff options
author | Horms <horms@verge.net.au> | 2007-03-16 03:05:22 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-03-20 12:28:40 -0400 |
commit | a1f9ce056a1875b6c8633f370df4fb169b925b16 (patch) | |
tree | d05e31ad5dfa448bac1ef8a763414ca37f688d1f /drivers/message | |
parent | 5f9279f23913045c810eeb4ab03c694c46231f75 (diff) |
[SCSI] fusion: remove unnecessary code in mptscsih_resume()
It seems that most of the code in mptscsih_resume() doesn't
do anything. This patch removes that code.
Signed-off-by: Simon Horman <horms@verge.net.au>
Acked-by: "Moore, Eric" <Eric.Moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/message')
-rw-r--r-- | drivers/message/fusion/mptscsih.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/message/fusion/mptscsih.c b/drivers/message/fusion/mptscsih.c index eef00ed139b9..10927e34c2b4 100644 --- a/drivers/message/fusion/mptscsih.c +++ b/drivers/message/fusion/mptscsih.c | |||
@@ -1188,19 +1188,7 @@ mptscsih_suspend(struct pci_dev *pdev, pm_message_t state) | |||
1188 | int | 1188 | int |
1189 | mptscsih_resume(struct pci_dev *pdev) | 1189 | mptscsih_resume(struct pci_dev *pdev) |
1190 | { | 1190 | { |
1191 | MPT_ADAPTER *ioc = pci_get_drvdata(pdev); | ||
1192 | struct Scsi_Host *host = ioc->sh; | ||
1193 | MPT_SCSI_HOST *hd; | ||
1194 | |||
1195 | mpt_resume(pdev); | 1191 | mpt_resume(pdev); |
1196 | |||
1197 | if(!host) | ||
1198 | return 0; | ||
1199 | |||
1200 | hd = (MPT_SCSI_HOST *)host->hostdata; | ||
1201 | if(!hd) | ||
1202 | return 0; | ||
1203 | |||
1204 | return 0; | 1192 | return 0; |
1205 | } | 1193 | } |
1206 | 1194 | ||