From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] PCI fixes for 2.6.0-test6
Date: Tue, 30 Sep 2003 15:35:49 -0700 [thread overview]
Message-ID: <10649613493963@kroah.com> (raw)
In-Reply-To: <10649613491242@kroah.com>
ChangeSet 1.1344, 2003/09/26 16:33:35-07:00, mochel@osdl.org
[PATCH] Remove ->save_state() in nsp32.c
Remove the uncalled and unneeded struct pci_driver::save_state() in
drivers/scsi/nsp32.c
drivers/scsi/nsp32.c | 10 ----------
1 files changed, 10 deletions(-)
diff -Nru a/drivers/scsi/nsp32.c b/drivers/scsi/nsp32.c
--- a/drivers/scsi/nsp32.c Tue Sep 30 15:20:57 2003
+++ b/drivers/scsi/nsp32.c Tue Sep 30 15:20:57 2003
@@ -3435,15 +3435,6 @@
* Power Management
*/
#ifdef CONFIG_PM
-/* Save Device Context */
-static int nsp32_save_state(struct pci_dev *pdev, u32 state)
-{
- struct Scsi_Host *host = pci_get_drvdata(pdev);
-
- nsp32_msg(KERN_INFO, "pci-save_state: stub, pdev=0x%p, state=%ld, slot=%s, host=0x%p", pdev, state, pci_name(pdev), host);
-
- return 0;
-}
/* Device suspended */
static int nsp32_suspend(struct pci_dev *pdev, u32 state)
@@ -3573,7 +3564,6 @@
.probe = nsp32_probe,
.remove = __devexit_p(nsp32_remove),
#ifdef CONFIG_PM
- .save_state = nsp32_save_state,
.suspend = nsp32_suspend,
.resume = nsp32_resume,
.enable_wake = nsp32_enable_wake,
next prev parent reply other threads:[~2003-09-30 23:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-30 22:34 [BK PATCH] PCI fixes for 2.6.0-test6 Greg KH
2003-09-30 22:35 ` [PATCH] " Greg KH
2003-09-30 22:35 ` Greg KH
2003-09-30 22:35 ` Greg KH
2003-09-30 22:35 ` Greg KH [this message]
2003-09-30 22:35 ` Greg KH
2003-09-30 22:35 ` Greg KH
2003-09-30 22:35 ` Greg KH
2003-09-30 22:35 ` Greg KH
2003-09-30 22:35 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10649613493963@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox