projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Drivers: hv: vmbus: avoid double kfree for device_obj
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hv
/
channel_mgmt.c
diff --git
a/drivers/hv/channel_mgmt.c
b/drivers/hv/channel_mgmt.c
index ba4b25f0b2133797bed2553ac9e1d1d8ac486ae4..36bacc75a32a7222280f1b72460f7944b2deb6bc 100644
(file)
--- a/
drivers/hv/channel_mgmt.c
+++ b/
drivers/hv/channel_mgmt.c
@@
-262,7
+262,6
@@
void vmbus_free_channels(void)
list_for_each_entry(channel, &vmbus_connection.chn_list, listentry) {
vmbus_device_unregister(channel->device_obj);
- kfree(channel->device_obj);
free_channel(channel);
}
}