Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a1f9ce056a1875b6c8633f370df4fb169b925b16
Commit:     a1f9ce056a1875b6c8633f370df4fb169b925b16
Parent:     5f9279f23913045c810eeb4ab03c694c46231f75
Author:     Horms <[EMAIL PROTECTED]>
AuthorDate: Fri Mar 16 16:05:22 2007 +0900
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Tue Mar 20 11:28:40 2007 -0500

    [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 <[EMAIL PROTECTED]>
    Acked-by: "Moore, Eric" <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
---
 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 eef00ed..10927e3 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)
 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;
 }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to