Skip to content

Commit

Permalink
[SCSI] fusion: remove unnecessary code in mptscsih_resume()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Horms authored and James Bottomley committed Mar 20, 2007
1 parent 5f9279f commit a1f9ce0
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions drivers/message/fusion/mptscsih.c
Original file line number Diff line number Diff line change
Expand Up @@ -1188,19 +1188,7 @@ mptscsih_suspend(struct pci_dev *pdev, pm_message_t state)
int
mptscsih_resume(struct pci_dev *pdev)
{
MPT_ADAPTER *ioc = pci_get_drvdata(pdev);
struct Scsi_Host *host = ioc->sh;
MPT_SCSI_HOST *hd;

mpt_resume(pdev);

if(!host)
return 0;

hd = (MPT_SCSI_HOST *)host->hostdata;
if(!hd)
return 0;

return 0;
}

Expand Down

0 comments on commit a1f9ce0

Please sign in to comment.