Skip to content

Commit

Permalink
IB/mthca: Remove dead code
Browse files Browse the repository at this point in the history
Kill some dead code in mthca_eq.c

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
  • Loading branch information
Michael S. Tsirkin authored and Roland Dreier committed Jun 18, 2006
1 parent e51060f commit a26026c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/infiniband/hw/mthca/mthca_eq.c
Original file line number Diff line number Diff line change
Expand Up @@ -695,10 +695,6 @@ static void mthca_unmap_reg(struct mthca_dev *dev, unsigned long offset,

static int __devinit mthca_map_eq_regs(struct mthca_dev *dev)
{
unsigned long mthca_base;

mthca_base = pci_resource_start(dev->pdev, 0);

if (mthca_is_memfree(dev)) {
/*
* We assume that the EQ arm and EQ set CI registers
Expand Down

0 comments on commit a26026c

Please sign in to comment.