summaryrefslogtreecommitdiff
path: root/drivers/hv
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hv')
-rw-r--r--drivers/hv/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hv/connection.c b/drivers/hv/connection.c
index 16b9959dba7e..b5b322ce16df 100644
--- a/drivers/hv/connection.c
+++ b/drivers/hv/connection.c
@@ -314,7 +314,7 @@ int vmbus_connect(void)
version >> 16, version & 0xFFFF);
vmbus_connection.channels = kzalloc_objs(struct vmbus_channel *,
- MAX_CHANNEL_RELIDS, GFP_KERNEL);
+ MAX_CHANNEL_RELIDS);
if (vmbus_connection.channels == NULL) {
ret = -ENOMEM;
goto cleanup;