Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3622148pxb; Mon, 9 Nov 2020 16:42:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKd2hjmr12XzZ2/okwRBrfsHuLJJbS4sZS9XIO5tC1U2xnEK76obIf9FFjLJQmQ8Tebt1i X-Received: by 2002:a17:906:4059:: with SMTP id y25mr17502210ejj.498.1604968961199; Mon, 09 Nov 2020 16:42:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604968961; cv=none; d=google.com; s=arc-20160816; b=wAQ9T/CaBN3whT6ltqJ/SoUCx9oCULjrAQcnHyBjy3QHFEHavfWKobxXFfQ0KBAf1d 0WCqDlhKboHo2yPa2iNthnEJxCtH6mzssbI1s9EPcQZvo8HxKbuZ9MweHCnCPq2SKxZ3 fdkI7a4SZp5GAsa8FG+UrYkAPuLzPvFflSqwAPARTpAOPwpzjbjlOCAkwtEDi8oXusK5 ffJkZ1jclkZMH5Lkw0kZsWB8RCeAKoIktpAMFyVinGbJYyjVKFuxUFXf9bALDnQ8iaOu v7S5wL8UYwQxLvc30pQLOw4b5FpL7jidGbiqXsDsio4biOzpJLuvaopBLp8JPS8TI5BT TjLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:ironport-sdr:ironport-sdr; bh=6zX8i4f7sC5z5M5zHvygdM3omkUrpLxkxL0nHfakHTA=; b=EjXZcW1cimZJ3UpiQqr973xwwXlFPs1+clLFu9GKxjCTWshpNopg1k8IZPRzHpuyjx IYwWJJv2k9tSBlcaXD7TGCot3sJTQteT+4pX6UyXBe1jYeCsF6Jvy/UFK0NcwnfFsXYo C5jJVVLN29mvXwPZtqBnw2s37mGIDyUe9qbAL5Z1E2u1CXubtaC1dFTjubWqMH9uceRg N7yLQpW3yZhXqvTjV6RcegtNs90UfHBF/Ys8QAR5wBYC3G56zW6EJ+Oy5s5iCvWTbE9l syfu9eGLEtjx7u4oXD7sPpi7JX3HDUg+aye+GkJj+BT0xSMoMAdOITzjctmBqu6w0rEA Hk/Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ch5si8226081edb.190.2020.11.09.16.42.18; Mon, 09 Nov 2020 16:42:41 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731318AbgKJAjO (ORCPT + 99 others); Mon, 9 Nov 2020 19:39:14 -0500 Received: from mga04.intel.com ([192.55.52.120]:25974 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731130AbgKJAjL (ORCPT ); Mon, 9 Nov 2020 19:39:11 -0500 IronPort-SDR: T2HXha+OnmeyGqV0UsAyU5NBsNogDJB7yIjYUBWSwMgellrWVKvmHewCPhzCqZyg0hl8uD4Fm1 Z7pVObWGgX1A== X-IronPort-AV: E=McAfee;i="6000,8403,9800"; a="167308689" X-IronPort-AV: E=Sophos;i="5.77,464,1596524400"; d="scan'208";a="167308689" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2020 16:38:58 -0800 IronPort-SDR: I8VpbswOaV7EmvvtK8g+7qrYToR7tuShwspPwrXpQWuCI2QE1D/JwSOM9n1je1OqVVHYWzAvBH KkbDoJ9atiVA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,464,1596524400"; d="scan'208";a="354312394" Received: from uhpatel-desk4.jf.intel.com (HELO uhpatel-desk4.intel.com) ([10.23.15.15]) by orsmga008.jf.intel.com with ESMTP; 09 Nov 2020 16:38:58 -0800 From: Utkarsh Patel To: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Cc: heikki.krogerus@linux.intel.com, pmalani@chromium.org, enric.balletbo@collabora.com, rajmohan.mani@intel.com, azhar.shaikh@intel.com, Utkarsh Patel Subject: [PATCH 8/8] usb: typec: Remove active_link_training variable from Enter_USB message Date: Mon, 9 Nov 2020 16:37:16 -0800 Message-Id: <20201110003716.5164-9-utkarsh.h.patel@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201110003716.5164-1-utkarsh.h.patel@intel.com> References: <20201110003716.5164-1-utkarsh.h.patel@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thunderbolt 3 cable discover mode VDO support has been added as part of Enter_USB message to fill details of active cable plug link training. Hence, removing unused variable active_link_training from Enter_USB message data structure. Signed-off-by: Utkarsh Patel --- include/linux/usb/typec.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/linux/usb/typec.h b/include/linux/usb/typec.h index d91e09d9d91c..4a9608a15ac1 100644 --- a/include/linux/usb/typec.h +++ b/include/linux/usb/typec.h @@ -76,16 +76,10 @@ enum typec_orientation { * struct enter_usb_data - Enter_USB Message details * @eudo: Enter_USB Data Object * @tbt_cable_vdo: TBT3 Cable Discover Mode Response - * @active_link_training: Active Cable Plug Link Training - * - * @active_link_training is a flag that should be set with uni-directional SBRX - * communication, and left 0 with passive cables and with bi-directional SBRX - * communication. */ struct enter_usb_data { u32 eudo; u32 tbt_cable_vdo; - unsigned char active_link_training:1; }; /* -- 2.17.1