From patchwork Mon Aug 11 11:54:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Stabellini X-Patchwork-Id: 35203 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f200.google.com (mail-vc0-f200.google.com [209.85.220.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C868420AEC for ; Mon, 11 Aug 2014 11:55:26 +0000 (UTC) Received: by mail-vc0-f200.google.com with SMTP id hq11sf24815562vcb.11 for ; Mon, 11 Aug 2014 04:55:26 -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=r1FLkI1NaoGdvekVmenu1FC1ZCM9f8lZYqfZrCfu7vA=; b=UeLuR+623OcGA+Tb8PLysOZs44dQqYleLmdPeq/TAtOi/WfRlRc5RieQLcbNR3Ged+ 9d5rHmO8DTV9yLXndwc3+1/s4cvJOv8pY6EN7bOTxckFdaqw8HhcDgXzy2qi4E948HY2 VlRl6c1heQP1mZzXYIRu0Y7lJI9f94bY4kfk1EweTXDarZRjoawaCaIN1ZvTnuh9w7RZ BpXAbHO5PXQ8nScYbgc+t4rfNWaAvbcVr0lF/uvfW950BoDCLuyzMybFUCbU3+wMwCuW 77qYe6r86YzY2jpL92JO60dNNi6SMI5Md8+RCvs+q1Bbtiahogv1uQ3VgljSd4Nr2jhs +8PA== X-Gm-Message-State: ALoCoQmb0VBzORGqINm0iMk7Ji+K/SV0+ziTf9iAE4u9C1Xr8ePhEzzPnX8sfW9U7p5kMClXUe+s X-Received: by 10.236.4.41 with SMTP id 29mr13449847yhi.25.1407758126543; Mon, 11 Aug 2014 04:55:26 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.93.34 with SMTP id c31ls1337437qge.92.gmail; Mon, 11 Aug 2014 04:55:26 -0700 (PDT) X-Received: by 10.220.181.196 with SMTP id bz4mr6059056vcb.36.1407758126446; Mon, 11 Aug 2014 04:55:26 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id sd9si6371642vdc.26.2014.08.11.04.55.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 11 Aug 2014 04:55:26 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id im17so11505657vcb.3 for ; Mon, 11 Aug 2014 04:55:26 -0700 (PDT) X-Received: by 10.221.56.5 with SMTP id wa5mr35902303vcb.25.1407758126363; Mon, 11 Aug 2014 04:55:26 -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 tc5csp158628vcb; Mon, 11 Aug 2014 04:55:25 -0700 (PDT) X-Received: by 10.70.90.3 with SMTP id bs3mr3998932pdb.42.1407758125427; Mon, 11 Aug 2014 04:55:25 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o6si9694279pdk.138.2014.08.11.04.55.24 for ; Mon, 11 Aug 2014 04:55:25 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-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 S1753118AbaHKLzX (ORCPT + 26 others); Mon, 11 Aug 2014 07:55:23 -0400 Received: from smtp.citrix.com ([66.165.176.89]:3850 "EHLO SMTP.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752854AbaHKLzW (ORCPT ); Mon, 11 Aug 2014 07:55:22 -0400 X-IronPort-AV: E=Sophos;i="5.01,841,1400025600"; d="scan'208";a="160543251" Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.80) with Microsoft SMTP Server id 14.3.181.6; Mon, 11 Aug 2014 07:55:20 -0400 Received: from kaball.uk.xensource.com ([10.80.2.59]) by ukmail1.uk.xensource.com with esmtp (Exim 4.69) (envelope-from ) id 1XGoC8-00013Q-GJ; Mon, 11 Aug 2014 12:55:20 +0100 Date: Mon, 11 Aug 2014 12:54:03 +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] 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-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.172 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 Reviewed-by: David Vrabel --- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ 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)