Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1768247ybh; Tue, 14 Jul 2020 06:55:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1n0I34GVhh8JeB8AvzpawtL3jzqCLXjggXFW4AaPTlEb3wqTgGvdU3La1d9iT/1uNS87T X-Received: by 2002:a17:906:5657:: with SMTP id v23mr4775383ejr.196.1594734939760; Tue, 14 Jul 2020 06:55:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594734939; cv=none; d=google.com; s=arc-20160816; b=qiiZzVexbWeMJoElOAHnNBUcgZXWgn5GkU0YZReZ6FF4Sp9DxMjbnRtc2Tgw43dIcp vOB9CfJuuYp+wAyB2SF6uu20Sa5Z1rNnTI9dbs+8p1BtYG/f0j77dN9XwDyNC7ubXkkV Jofr6+YXytD+Xt5rjtIxZWLIizdwKqSAEgB0rpOKqghJA0CTc0ywDGiTKbptqa/DkCI7 h2QP3aK8jyuIKr92+nwxAJpvLr/FrjEFsIEhULhGQ8SkC+D4bHFic+olFp722G6HKxvT iOZ9MqJ6ic9AbC9PQfurd9xjhc7sa7H22W1i4NoGzAjyFHzmEc6xGmKcm+OSdKiEDTgH yM2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=NBl6qTXtY70y2AbXcuTUZ62FPRexxmOk23eaRBsntgA=; b=Br4yGJH+BDAHlcbhR10P3QPSK3F4esUus3FxRBlS5E9f+aVh0c6SYA7E3nuuGXVW3X fWq+uVMGe9FJlBX2YmDhnLfmCPlJsHHpgB8wl8gxYdh9UFAAITSKTkYzvd+qqd3xAeEJ PzDBlni+Cy5ioKFYko4DBpGyWd4yCmF4sDrX9n2mT8xwg7rQ2swrJ9P/Z6li2MhpOfMh bnuNNg59IW4twpWv/ryywjS5/ZxVeMFLocuQuGPEpy/Nt8n7tJwEC3N7FFo0ludSDdhf sTK/5nbzQaGsawS2fYFYnzfDAXeevaCfNG8ZJU99i+iTWOODaOrib801CBCXumLO9lPJ 1FZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AqOLcnvw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w5si11689127edx.179.2020.07.14.06.55.17; Tue, 14 Jul 2020 06:55:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AqOLcnvw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727782AbgGNNzC (ORCPT + 99 others); Tue, 14 Jul 2020 09:55:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727096AbgGNNzB (ORCPT ); Tue, 14 Jul 2020 09:55:01 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3F8AC061755 for ; Tue, 14 Jul 2020 06:55:00 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id r12so21692497wrj.13 for ; Tue, 14 Jul 2020 06:55:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=NBl6qTXtY70y2AbXcuTUZ62FPRexxmOk23eaRBsntgA=; b=AqOLcnvw3OiqvcM4Zn8Gj7MsWpqfygrPWiSuIpNhmQ3HEnpVRCyuWIRjrhEF6yK54s uJbvDHTZ9DTvRD0GE/W/oJY3yP1KdOO706UKdbmhoJvTYszJ5MtsU8nMjzx/yHt3iYda AQ4hnTtC3xXstiduFRxNmUnHv6ypu+oGd3sDtyeRAbL4xgc61rQKEOSvNrX8axJ6tdZz KPk8VhfNS7FLCrPWVb2dZnmCWbkGJnNkyBucMLPfihDXeKI1VrxCAJnsI4Q/e2snIOzP cQC0xrRkaioXHK9t/DxZW9RtBf3yeuRFIclbU8gPmKSxgx+W3CDMvZIpkP9HQsct6QCl T6wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=NBl6qTXtY70y2AbXcuTUZ62FPRexxmOk23eaRBsntgA=; b=tdp1mbTu4gjQHqczBa68SWaEX0umgARF4WwnLw/r2xdl3n28WplZwrOWlilgjnpNvf eC/uLiVZVRRxq4A4xEUYXRWwF1fkcxU59gBSer4pSvA7LILwD9dvW22/a5cLl9w2Ss+A vob0CReNEMnEe9taAgKUghFD9Acj6P3WNCgCdKmNDtybOWX/jq+dZ5KAUHfq59TXgs/X 2SaoH3wU/MIMQuY8iKQUZWx+Utgw+oeyGa5A3I83OIicBLyM6V384rmQmDfLZsoHWA+T 7FVwCdAlJvGGiVg18UJl1bI7oPhXN3pEP4CRVsGEkcS/RcKslrGPIX4FyPr6VF8gcD6c jgLg== X-Gm-Message-State: AOAM532bIpuglnTSyvRyX04Jw9xxqXu11KXxs1Rsb6yYtToLiP42AKEJ rGnh5NNP2mX+JCcsym3skywmPRWAt/Y= X-Received: by 2002:adf:e74e:: with SMTP id c14mr5941520wrn.143.1594734898874; Tue, 14 Jul 2020 06:54:58 -0700 (PDT) Received: from dell ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id k126sm4968334wme.17.2020.07.14.06.54.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2020 06:54:58 -0700 (PDT) Date: Tue, 14 Jul 2020 14:54:56 +0100 From: Lee Jones To: Hans de Goede Cc: gregkh@linuxfoundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Guenter Roeck , Heikki Krogerus Subject: Re: [PATCH 08/32] usb: typec: tcpm: tcpm: Remove dangling unused 'struct tcpm_altmode_ops' Message-ID: <20200714135456.GB1398296@dell> References: <20200706133341.476881-1-lee.jones@linaro.org> <20200706133341.476881-9-lee.jones@linaro.org> <20200706142051.GA3500@dell> <65f27abc-69c8-3877-be5b-e5e478153af9@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <65f27abc-69c8-3877-be5b-e5e478153af9@redhat.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 14 Jul 2020, Hans de Goede wrote: > Hi, > > On 7/6/20 4:20 PM, Lee Jones wrote: > > On Mon, 06 Jul 2020, Hans de Goede wrote: > > > > > Hi, > > > > > > On 7/6/20 3:33 PM, Lee Jones wrote: > > > > Looks as though a079973f462a3 ("usb: typec: tcpm: Remove tcpc_config > > > > configuration mechanism") pulled out the only use of 'tcpm_altmode_ops' > > > > last year. No need to keep it around. > > > > > > > > Fixes the following W=1 kernel build warning(s): > > > > > > > > drivers/usb/typec/tcpm/tcpm.c:1551:39: warning: ‘tcpm_altmode_ops’ defined but not used [-Wunused-const-variable=] > > > > 1551 | static const struct typec_altmode_ops tcpm_altmode_ops = { > > > > | ^~~~~~~~~~~~~~~~ > > > > > > > > Cc: Guenter Roeck > > > > Cc: Heikki Krogerus > > > > Cc: Hans de Goede > > > > Signed-off-by: Lee Jones > > > > > > This is necessary for adding Display port over Type-C support > > > on devices using the tcpm code, rather then firmware, to do > > > the Type-C alt-mode negotiation. > > > > > > I have a local patch in my tree which adds support for this. > > > > > > But Heikki did not like my approach, so that patch > > > (which needs the bits you are removing) never landed > > > upstream: > > > > > > https://patchwork.kernel.org/patch/11199517/ > > > > > > Which is somewhat old now. > > > > Yes, that's a just a little old now. > > > > If it drags on for much longer, perhaps consider taking it out for the > > time being and adding it back when you start to make use of it again? > > Ok, I've just submitted a reworked patch-series upstream which > actually uses this code. So please drop this patch from your > patch-set. No problem. Thanks Hans. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog