From: K. Y. Srinivasan Date: Tue, 10 May 2011 14:55:04 +0000 (-0700) Subject: Staging: hv: Get rid of unnecessary code in netvsc.c X-Git-Tag: firefly_0821_release~7613^2~1326^2~356 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=62f659d724103562d1ff0900ce3dd74a0bc3b270;p=firefly-linux-kernel-4.4.55.git Staging: hv: Get rid of unnecessary code in netvsc.c Now that we had gotten rid of the indirection; get rid of some unnecessary code. 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/netvsc.c b/drivers/staging/hv/netvsc.c index 34828c433569..832f62e70f5b 100644 --- a/drivers/staging/hv/netvsc.c +++ b/drivers/staging/hv/netvsc.c @@ -1184,9 +1184,6 @@ int netvsc_initialize(struct hv_driver *drv) drv->name = driver_name; memcpy(&drv->dev_type, &netvsc_device_type, sizeof(struct hv_guid)); - /* Setup the dispatch table */ - driver->base.dev_add = netvsc_device_add; - driver->base.dev_rm = netvsc_device_remove; driver->send = netvsc_send;