Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206719
b: refs/heads/master
c: f400e5b
h: refs/heads/master
i:
  206717: 93adf91
  206715: b5c2bb1
  206711: ddc4159
  206703: 94aaac8
  206687: c18f559
  206655: f3855c3
  206591: 4b2a770
v: v3
  • Loading branch information
Roland Dreier committed Jul 14, 2010
1 parent 1d89cbc commit a3e4717
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 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: dccb816de38efe72becc5d7f90a5dfedcd6fd053
refs/heads/master: f400e5b38a5eeb8a91b481e4f3059611fa4ddce2
2 changes: 0 additions & 2 deletions trunk/drivers/infiniband/core/user_mad.c
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,6 @@ static int ib_umad_init_port(struct ib_device *device, int port_num,
static void ib_umad_kill_port(struct ib_umad_port *port)
{
struct ib_umad_file *file;
int already_dead;
int id;

dev_set_drvdata(port->dev, NULL);
Expand All @@ -1103,7 +1102,6 @@ static void ib_umad_kill_port(struct ib_umad_port *port)

list_for_each_entry(file, &port->file_list, port_list) {
mutex_lock(&file->mutex);
already_dead = file->agents_dead;
file->agents_dead = 1;
mutex_unlock(&file->mutex);

Expand Down
13 changes: 3 additions & 10 deletions trunk/drivers/infiniband/hw/ipath/ipath_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,6 @@ static void ipath_verify_pioperf(struct ipath_devdata *dd)
ipath_enable_armlaunch(dd);
}

static void cleanup_device(struct ipath_devdata *dd);

static int __devinit ipath_init_one(struct pci_dev *pdev,
const struct pci_device_id *ent)
{
Expand Down Expand Up @@ -618,13 +616,8 @@ static int __devinit ipath_init_one(struct pci_dev *pdev,
goto bail;

bail_irqsetup:
cleanup_device(dd);

if (dd->ipath_irq)
dd->ipath_f_free_irq(dd);

if (dd->ipath_f_cleanup)
dd->ipath_f_cleanup(dd);
if (pdev->irq)
free_irq(pdev->irq, dd);

bail_iounmap:
iounmap((volatile void __iomem *) dd->ipath_kregbase);
Expand All @@ -642,7 +635,7 @@ static int __devinit ipath_init_one(struct pci_dev *pdev,
return ret;
}

static void cleanup_device(struct ipath_devdata *dd)
static void __devexit cleanup_device(struct ipath_devdata *dd)
{
int port;
struct ipath_portdata **tmp;
Expand Down

0 comments on commit a3e4717

Please sign in to comment.