Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56557
b: refs/heads/master
c: 1daf9ce
h: refs/heads/master
i:
  56555: 7979efb
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed May 18, 2007
1 parent bc696a9 commit 25dbc03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 074b8ba3863dd168befdba6c9115e990349a6755
refs/heads/master: 1daf9ce74e0e0ef8ffde800ab495339458c3375f
12 changes: 1 addition & 11 deletions trunk/drivers/ata/sata_nv.c
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ struct nv_host_priv {
#define NV_ADMA_CHECK_INTR(GCTL, PORT) ((GCTL) & ( 1 << (19 + (12 * (PORT)))))

static int nv_init_one (struct pci_dev *pdev, const struct pci_device_id *ent);
static void nv_remove_one (struct pci_dev *pdev);
#ifdef CONFIG_PM
static int nv_pci_device_resume(struct pci_dev *pdev);
#endif
Expand Down Expand Up @@ -300,7 +299,7 @@ static struct pci_driver nv_pci_driver = {
.suspend = ata_pci_device_suspend,
.resume = nv_pci_device_resume,
#endif
.remove = nv_remove_one,
.remove = ata_pci_remove_one,
};

static struct scsi_host_template nv_sht = {
Expand Down Expand Up @@ -1607,15 +1606,6 @@ static int nv_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
IRQF_SHARED, ppi[0]->sht);
}

static void nv_remove_one (struct pci_dev *pdev)
{
struct ata_host *host = dev_get_drvdata(&pdev->dev);
struct nv_host_priv *hpriv = host->private_data;

ata_pci_remove_one(pdev);
kfree(hpriv);
}

#ifdef CONFIG_PM
static int nv_pci_device_resume(struct pci_dev *pdev)
{
Expand Down

0 comments on commit 25dbc03

Please sign in to comment.