git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/mlx5: fix meter creation default state
[dpdk.git]
/
drivers
/
bus
/
vmbus
/
vmbus_channel.c
diff --git
a/drivers/bus/vmbus/vmbus_channel.c
b/drivers/bus/vmbus/vmbus_channel.c
index
f67f1c4
..
119b9b3
100644
(file)
--- a/
drivers/bus/vmbus/vmbus_channel.c
+++ b/
drivers/bus/vmbus/vmbus_channel.c
@@
-351,10
+351,8
@@
int rte_vmbus_chan_open(struct rte_vmbus_device *device,
err = vmbus_chan_create(device, device->relid, 0,
device->monitor_id, new_chan);
- if (!err)
{
+ if (!err)
device->primary = *new_chan;
- uio_res->primary = *new_chan;
- }
return err;
}