aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2008-04-21 21:19:14 -0400
committerRoland Dreier <rolandd@cisco.com>2008-04-21 21:19:14 -0400
commit88a8317bcd2258e84a41c155590837036d6b80a8 (patch)
tree87c0c406368a00388f74d5ba648026ec93c76ac4 /drivers/infiniband
parent9862874d2138135dad9e78f61dbe415a4364945b (diff)
IB/ipath: Remove reference to dev->class_dev
Commit 124b4dcb ("IB/ipath: add calls to new 7220 code and enable in build") inadvertently added core to set dev->class_dev.dev back into ib_ipath. This is completely redundant since commit 1912ffbb ("IB: Set class_dev->dev in core for nice device symlink"), which removed class_dev setting from low-level drivers, and also will break the build when class_dev is removed completely from struct ib_device. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_verbs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_verbs.c b/drivers/infiniband/hw/ipath/ipath_verbs.c
index 2de8446bd375..e63927cce5b5 100644
--- a/drivers/infiniband/hw/ipath/ipath_verbs.c
+++ b/drivers/infiniband/hw/ipath/ipath_verbs.c
@@ -2067,7 +2067,6 @@ int ipath_register_ib_device(struct ipath_devdata *dd)
2067 dev->phys_port_cnt = 1; 2067 dev->phys_port_cnt = 1;
2068 dev->num_comp_vectors = 1; 2068 dev->num_comp_vectors = 1;
2069 dev->dma_device = &dd->pcidev->dev; 2069 dev->dma_device = &dd->pcidev->dev;
2070 dev->class_dev.dev = dev->dma_device;
2071 dev->query_device = ipath_query_device; 2070 dev->query_device = ipath_query_device;
2072 dev->modify_device = ipath_modify_device; 2071 dev->modify_device = ipath_modify_device;
2073 dev->query_port = ipath_query_port; 2072 dev->query_port = ipath_query_port;