Commit 3fae5c8f authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman
Browse files

Staging: hv: Get rid of the indirection in invoking netvsc_device_remove()

parent 58de3fc6
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -809,8 +809,7 @@ int rndis_filter_device_remove(struct hv_device *dev)
	kfree(rndis_dev);
	net_dev->extension = NULL;

	/* Pass control to inner driver to remove the device */
	rndis_filter.inner_drv.base.dev_rm(dev);
	netvsc_device_remove(dev);

	return 0;
}