From patchwork Tue Aug 12 09:05:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Stabellini X-Patchwork-Id: 35245 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f72.google.com (mail-pa0-f72.google.com [209.85.220.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A686120540 for ; Tue, 12 Aug 2014 09:06:45 +0000 (UTC) Received: by mail-pa0-f72.google.com with SMTP id eu11sf69017909pac.7 for ; Tue, 12 Aug 2014 02:06:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:date:from:to:cc:subject:message-id :user-agent:mime-version:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe:content-type; bh=srG0xivxTdaiHAcGQ8dCdZyc40IePEtK9gilUhOUEgY=; b=CsdjHsT1sd4pM9EMFpeDbDJ+DU4TZ4p82wUD2hEn1AMI3yfKOKjgtxaa+YYkvnnJ+/ /KLwMy4DmvE+0zMfK+ZeXhHzEufx4mfkIau6+KurPSs+u+kpyXDBaSS57Km+VF1d7Hlj 6E0IAnbul1DDT61kg/JzI4ugp7UUSqtbu3xZWYbSM0zszPI0EuQ1RWJeRLSowhUkk4dy XJQE42y/eRkr9jTgIZYvWQz+a2fBqqezVEhz65ewebZEajAmHKn4lb3W6SkAlgyu9k8H 7dr2WeXl8GyXrh/76cxe2etvJR6sTup74K1NDhS4nU2GErjA1pQvZPbVM7SE5QUSsyeT vmIw== X-Gm-Message-State: ALoCoQkHIUwhx+UWlyQifpdyR9mNjB+DFOPcv+Y/Ow8VZxMQenSmONQCjZ7wyTz8VWPT/P9E43gW X-Received: by 10.66.124.199 with SMTP id mk7mr1789151pab.15.1407834404932; Tue, 12 Aug 2014 02:06:44 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.20.98 with SMTP id 89ls82828qgi.1.gmail; Tue, 12 Aug 2014 02:06:44 -0700 (PDT) X-Received: by 10.53.7.204 with SMTP id de12mr8809057vdd.41.1407834404783; Tue, 12 Aug 2014 02:06:44 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id i6si7859124vdt.83.2014.08.12.02.06.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 12 Aug 2014 02:06:44 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id lf12so12756321vcb.26 for ; Tue, 12 Aug 2014 02:06:44 -0700 (PDT) X-Received: by 10.220.184.70 with SMTP id cj6mr2591777vcb.5.1407834404652; Tue, 12 Aug 2014 02:06:44 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp231340vcb; Tue, 12 Aug 2014 02:06:44 -0700 (PDT) X-Received: by 10.66.123.75 with SMTP id ly11mr3160699pab.82.1407834403451; Tue, 12 Aug 2014 02:06:43 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id te2si15561065pbc.38.2014.08.12.02.06.43 for ; Tue, 12 Aug 2014 02:06:43 -0700 (PDT) Received-SPF: none (google.com: linux-serial-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932071AbaHLJGm (ORCPT + 1 other); Tue, 12 Aug 2014 05:06:42 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:23534 "EHLO SMTP02.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932065AbaHLJGl (ORCPT ); Tue, 12 Aug 2014 05:06:41 -0400 X-IronPort-AV: E=Sophos;i="5.01,847,1400025600"; d="scan'208";a="161525432" Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.79) with Microsoft SMTP Server id 14.3.181.6; Tue, 12 Aug 2014 05:06:40 -0400 Received: from kaball.uk.xensource.com ([10.80.2.59]) by ukmail1.uk.xensource.com with esmtp (Exim 4.69) (envelope-from ) id 1XH82R-00020s-Tt; Tue, 12 Aug 2014 10:06:39 +0100 Date: Tue, 12 Aug 2014 10:05:22 +0100 From: Stefano Stabellini X-X-Sender: sstabellini@kaball.uk.xensource.com To: CC: David Vrabel , Konrad Rzeszutek Wilk , Stefano Stabellini , Dave Scott , , , , Subject: [PATCH RESEND] xen_hvc: no reason to write the type key on xenstore Message-ID: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 X-DLP: MIA2 Sender: linux-serial-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-serial@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: stefano.stabellini@eu.citrix.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The backend type is chosen by the toolstack. Regardless, the frontend should not care, especially given that it cannot have an effect as the backend is started before this code is run. Signed-off-by: Stefano Stabellini --- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/tty/hvc/hvc_xen.c b/drivers/tty/hvc/hvc_xen.c index 636c9ba..b8491f5 100644 --- a/drivers/tty/hvc/hvc_xen.c +++ b/drivers/tty/hvc/hvc_xen.c @@ -402,9 +402,6 @@ static int xencons_connect_backend(struct xenbus_device *dev, 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); if (ret) { if (ret == -EAGAIN)