projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e51060f
)
IB/mthca: Remove dead code
author
Michael S. Tsirkin
<mst@mellanox.co.il>
Sun, 18 Jun 2006 03:37:29 +0000
(20:37 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Sun, 18 Jun 2006 03:37:29 +0000
(20:37 -0700)
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>
drivers/infiniband/hw/mthca/mthca_eq.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/mthca/mthca_eq.c
b/drivers/infiniband/hw/mthca/mthca_eq.c
index 99f109c3815d86255d0e6c607ebb742aec1c287e..d536217e700ea46f8acec32f2830fbd965b25af2 100644
(file)
--- a/
drivers/infiniband/hw/mthca/mthca_eq.c
+++ b/
drivers/infiniband/hw/mthca/mthca_eq.c
@@
-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