diff --git a/drivers/tty/hvc/hvc_xen.c b/drivers/tty/hvc/hvc_xen.c index 2dc2831840ca..2967f0388d2c 100644 --- a/drivers/tty/hvc/hvc_xen.c +++ b/drivers/tty/hvc/hvc_xen.c @@ -400,9 +400,6 @@ static int xencons_connect_backend(struct xenbus_device *dev, goto error_xenbus; ret = xenbus_printf(xbt, dev->nodename, "port", "%u", evtchn); - if (ret) - goto error_xenbus; - ret = xenbus_printf(xbt, dev->nodename, "type", "ioemu"); if (ret) goto error_xenbus; ret = xenbus_transaction_end(xbt, 0);