diff options
-rw-r--r-- | drivers/tty/hvc/hvc_xen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/hvc/hvc_xen.c b/drivers/tty/hvc/hvc_xen.c index 83d5c88e7165..d3d91dae065c 100644 --- a/drivers/tty/hvc/hvc_xen.c +++ b/drivers/tty/hvc/hvc_xen.c | |||
@@ -430,9 +430,9 @@ static int __devinit xencons_probe(struct xenbus_device *dev, | |||
430 | if (devid == 0) | 430 | if (devid == 0) |
431 | return -ENODEV; | 431 | return -ENODEV; |
432 | 432 | ||
433 | info = kzalloc(sizeof(struct xencons_info), GFP_KERNEL | __GFP_ZERO); | 433 | info = kzalloc(sizeof(struct xencons_info), GFP_KERNEL); |
434 | if (!info) | 434 | if (!info) |
435 | goto error_nomem; | 435 | return -ENOMEM; |
436 | dev_set_drvdata(&dev->dev, info); | 436 | dev_set_drvdata(&dev->dev, info); |
437 | info->xbdev = dev; | 437 | info->xbdev = dev; |
438 | info->vtermno = xenbus_devid_to_vtermno(devid); | 438 | info->vtermno = xenbus_devid_to_vtermno(devid); |