Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp225384pxf; Wed, 31 Mar 2021 01:32:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx5wLDhKajeHgQEnSm9Ynwsgkqj/ztWkp4q+ErBnrdaBE/YMVlcVXUsw0cb+FSCoggGW87R X-Received: by 2002:a17:906:260a:: with SMTP id h10mr2352077ejc.392.1617179568793; Wed, 31 Mar 2021 01:32:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617179568; cv=none; d=google.com; s=arc-20160816; b=Rq8VDhZIEiabYL4gGnxn/qkpQo0UF2CdiMyzPbuApuFpB7Pa1i9FFieIvtk6rJ1Ndv EKdz3Cw62gKyfd8mNi2P4hNSLG4OOKtKfbEIu6voAbOJ60/dCg0NNB8IKkwBfI+DQFRc fAUwRvWWk8v/gUuw2/VvVMlvVxcw1rjVJMt6KG9SzXIDO71uwQzgOOUCy4esIKCKCyJb PFHGMJ54D8H+bQNGptUWpGo1TcHM1v4hHLdG2+zxQqEoxp70Vt1t6L9nezZ+VAN/giHu A55c8BCVc6MReJHy8cXwxX3nz3ooGHuqRnoQQeRbodjHat+YKPB47p2PntQB8UYiN6wl f+6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=W3q5DAk4wjiboZB+4xm4r+D77u+vIj/xKBGT22s32q4=; b=KytZXwiWYJnOPlMdjbNJXnhzF0WU9Pl8Ajh+luRNZldPNu2CSn6Iklvc5JarVBXKMO ZKbjmDfbmFdNeTuJ9Fzask0bC31z7++xdPGsCx9M96qqTexXgXN28oZv3tAjm1btJlKS igl2ps0OhgXe7xN6l+QcCfFmUGs9xGS/AyclkQVe9CaJb3uZmDN9PgcXIA8yoUGSSusb f6Gg3oSw2v632Cs+Ebs+tNQU4X+vQXDd3D5rl8ezWwFrW98l43bz5SN9imBPDNBbESvr mcEUuP9BqmfWd0lvaUd1C1gW4J2u54Y8xRoox5ErMZ7TqZC9QZdUFs2X7gjts/eyUqs1 cWxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=P3tlUBa1; 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=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z26si1068366ejw.136.2021.03.31.01.32.19; Wed, 31 Mar 2021 01:32:48 -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=@mediatek.com header.s=dk header.b=P3tlUBa1; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230385AbhCaIbK (ORCPT + 99 others); Wed, 31 Mar 2021 04:31:10 -0400 Received: from mailgw02.mediatek.com ([1.203.163.81]:6035 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S231172AbhCaIbC (ORCPT ); Wed, 31 Mar 2021 04:31:02 -0400 X-UUID: 3850fc3b5091490a92c4b838fc5deb04-20210331 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=W3q5DAk4wjiboZB+4xm4r+D77u+vIj/xKBGT22s32q4=; b=P3tlUBa1Wl0b+SOqp9657Xsv25LXjXJL8x5LVHWExBGTQi1DM5TDydDf2yaZTopcyjecIfaGlivcxMxlbX311BW40n8+SMFhTMETys7fCHHwKrkhakzwd/7rC5EYEyzzCAYVRyUw3/ig/un6k8VEnAUETDqz2DgNqXtyXSCauu4=; X-UUID: 3850fc3b5091490a92c4b838fc5deb04-20210331 Received: from mtkcas32.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 711188797; Wed, 31 Mar 2021 16:30:59 +0800 Received: from MTKCAS32.mediatek.inc (172.27.4.184) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 31 Mar 2021 16:30:55 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS32.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 31 Mar 2021 16:30:55 +0800 Message-ID: <1617179455.2752.1.camel@mhfsdcap03> Subject: Re: [PATCH 1/2] usb: xhci-mtk: remove unnecessary assignments in periodic TT scheduler From: Chunfeng Yun To: Ikjoon Jang , Yaqii Wu CC: , Greg Kroah-Hartman , Mathias Nyman , Matthias Brugger , , , Date: Wed, 31 Mar 2021 16:30:55 +0800 In-Reply-To: <20210330160508.1.I797d214790033d0402d19ff6b47a34aff60d3062@changeid> References: <20210330080617.3746932-1-ikjn@chromium.org> <20210330160508.1.I797d214790033d0402d19ff6b47a34aff60d3062@changeid> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: BC6F4D0A80AC4B87C9CE430B543EEBEF87DF16C0DE213A0549C1FAF1B0B002352000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Y2MgWWFxaWkgV3UgPFlhcWlpLld1QG1lZGlhdGVrLmNvbT4NCg0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