mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
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:
parent
e971b8cd19
commit
1836854f25
@ -77,7 +77,6 @@ static int next_port;
|
||||
struct cma_device {
|
||||
struct list_head list;
|
||||
struct ib_device *device;
|
||||
__be64 node_guid;
|
||||
struct completion comp;
|
||||
atomic_t refcount;
|
||||
struct list_head id_list;
|
||||
@ -2674,7 +2673,6 @@ static void cma_add_one(struct ib_device *device)
|
||||
return;
|
||||
|
||||
cma_dev->device = device;
|
||||
cma_dev->node_guid = device->node_guid;
|
||||
|
||||
init_completion(&cma_dev->comp);
|
||||
atomic_set(&cma_dev->refcount, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user