fate#314663 hyper-v memory ballooning support
[opensuse:kernel-source.git] / patches.suse / suse-hv-fate314665-0021-Drivers-hv-Get-rid-of-unnecessary-request-for-offers.patch
1 Patch-mainline: submitted
2 From: <ohering@suse.de>
3 Date: Sat, 1 Dec 2012 06:46:52 -0800
4 Subject: [PATCH 21/28] Drivers: hv: Get rid of unnecessary request for offers
5
6 This call to seek offers is not necessary and just adds unnecessary delay.
7 Get rid of it.
8
9 Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
10 Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
11 ---
12  drivers/hv/vmbus_drv.c | 2 --
13  1 file changed, 2 deletions(-)
14
15 diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
16 index c583a04..4c92337 100644
17 --- a/drivers/hv/vmbus_drv.c
18 +++ b/drivers/hv/vmbus_drv.c
19 @@ -592,8 +592,6 @@ int __vmbus_driver_register(struct hv_driver *hv_driver, struct module *owner, c
20  
21         ret = driver_register(&hv_driver->driver);
22  
23 -       vmbus_request_offers();
24 -
25         return ret;
26  }
27  EXPORT_SYMBOL_GPL(__vmbus_driver_register);
28 -- 
29 1.8.0.1
30