RDMA/cma: Remove unused node_guid from cma_device structure
Signed-off-by: Sean Hefty <sean.hefty@intel.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
This commit is contained in:
committed by
Roland Dreier
parent
e971b8cd19
commit
1836854f25
@@ -77,7 +77,6 @@ static int next_port;
|
|||||||
struct cma_device {
|
struct cma_device {
|
||||||
struct list_head list;
|
struct list_head list;
|
||||||
struct ib_device *device;
|
struct ib_device *device;
|
||||||
__be64 node_guid;
|
|
||||||
struct completion comp;
|
struct completion comp;
|
||||||
atomic_t refcount;
|
atomic_t refcount;
|
||||||
struct list_head id_list;
|
struct list_head id_list;
|
||||||
@@ -2674,7 +2673,6 @@ static void cma_add_one(struct ib_device *device)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
cma_dev->device = device;
|
cma_dev->device = device;
|
||||||
cma_dev->node_guid = device->node_guid;
|
|
||||||
|
|
||||||
init_completion(&cma_dev->comp);
|
init_completion(&cma_dev->comp);
|
||||||
atomic_set(&cma_dev->refcount, 1);
|
atomic_set(&cma_dev->refcount, 1);
|
||||||
|
Reference in New Issue
Block a user