From: K. Y. Srinivasan Date: Tue, 10 May 2011 14:55:00 +0000 (-0700) Subject: Staging: hv: Get rid of the indirection to invoke netvsc_device_add() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ce5bf661375cf90a01e060f579515e954e7788ea;p=linux-beck.git Staging: hv: Get rid of the indirection to invoke netvsc_device_add() Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/rndis_filter.c b/drivers/staging/hv/rndis_filter.c index b0c888ec9a6c..299b14e71ff4 100644 --- a/drivers/staging/hv/rndis_filter.c +++ b/drivers/staging/hv/rndis_filter.c @@ -755,7 +755,7 @@ int rndis_filte_device_add(struct hv_device *dev, * NOTE! Once the channel is created, we may get a receive callback * (RndisFilterOnReceive()) before this call is completed */ - ret = rndis_filter.inner_drv.base.dev_add(dev, additional_info); + ret = netvsc_device_add(dev, additional_info); if (ret != 0) { kfree(rndisDevice); return ret;