Message ID | 20240111141307.123458-1-sensor1010@163.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-23701-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp1475376dyi; Thu, 11 Jan 2024 06:14:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IGvehTUWynkftHYSCw+Xh/aDCw+Ue8DmHhTdL+drffMNsr2nDN3RYCVUfw+M8tO7dkMl/9v X-Received: by 2002:ac8:5945:0:b0:429:b138:ddc7 with SMTP id 5-20020ac85945000000b00429b138ddc7mr735108qtz.47.1704982480841; Thu, 11 Jan 2024 06:14:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704982480; cv=none; d=google.com; s=arc-20160816; b=D0myjrUOVSmbSIc6u/St4900CAE9HkI5RcsdbK0HzGlVfkx4cC5Dju8Lqxi1wAyrus ++br1ex762bbS78wPW1A+dU3FUBauuR2PWjMKQV4VW+K+MxTV08gMIFJWEqDBDh2jZw4 qhSqBR6KwD3WRt7+r+CMHbAz+xeVI7tBy3TQBEHq4tux2zOqeH9+sLFINGTtLfrm7x8r T9CNa552Cn+l7j1xDW/zMoanqWyGAS3Zj6h2ypyv5cX/fYYFoF9PhYmmZK71m4H+OgQ6 Hzjs8deeMKa1rK9ZWpTbD8wzFxpC82bpCPLMxKtX6JBWNJhGtf4u3Ia4aV2RRJN1Tdtn S9/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=XGWcNp2I/ujeacYSKUECw91AKfIpyCL2r7w3wnpKdeU=; fh=TFgiN+xVpdI3eYs8JCrj5W24rWHaSKt4N995VHwYinQ=; b=zvLILHo5LsVzMOAS/5cBZRABQogrOR+2RLgvUhgRlnvGg85xXBkVmdvaJqOCbFC8CR BKo/Vce4D6Mg65LA0Qi+fL4Gv9sxdLk8zgC82SjuTtzU3iz8Th+fCRvqeDuOzu2xDoIg 79vPAzY2Hw0l/CnvDXbovO4d6ftlCORQqDlCBlqMbG8b0nMc0p1IyNIJ0ID9uOOb1GFr HmthsZSWggBh/T2Hv290vmgG/mkOv01khKz2GdwvfMlm9g9hL+XWkhJphtcGJQYVPEEP AnJj4DfXNLmZvGyAsJ+lK3i6inO/l0s6zSEMOkUoBY8ADaRC2ST8D19Kp45KBuiv4r0o IVLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=dqSBd+ty; spf=pass (google.com: domain of linux-kernel+bounces-23701-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23701-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h7-20020a05622a170700b00429997abdbdsi1015718qtk.6.2024.01.11.06.14.40 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 06:14:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23701-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=dqSBd+ty; spf=pass (google.com: domain of linux-kernel+bounces-23701-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23701-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A253E1C2306F for <ouuuleilei@gmail.com>; Thu, 11 Jan 2024 14:14:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F7B83D96C; Thu, 11 Jan 2024 14:14:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b="dqSBd+ty" Received: from m15.mail.163.com (m15.mail.163.com [45.254.50.219]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1E0A13B198; Thu, 11 Jan 2024 14:14:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=163.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=XGWcN p2I/ujeacYSKUECw91AKfIpyCL2r7w3wnpKdeU=; b=dqSBd+tyVLvCJXw3k6q+1 i+vi3E7cM2gwwGZYlWK858NpXXOfFwSaCpg1kanmobzPnlQRYCHMjjc/S+w4HXhP 8W9BhozmhIBiDvRXH4B0eQOJYZE9Xo0y2+LXke5zh7uVinRAAWBH5VPDR/iYfFfm KC2Aps5DmCGAlgaXpv69f8= Received: from localhost.localdomain (unknown [36.4.236.25]) by zwqz-smtp-mta-g0-2 (Coremail) with SMTP id _____wDHr_R0959layVQBA--.35417S4; Thu, 11 Jan 2024 22:13:37 +0800 (CST) From: Lizhe <sensor1010@163.com> To: ilpo.jarvinen@linux.intel.com, gregkh@linuxfoundation.org, jirislaby@kernel.org, u.kleine-koenig@pengutronix.de, frank.li@vivo.com, tglx@linutronix.de, zhang_shurong@foxmail.com, robh@kernel.org Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Lizhe <sensor1010@163.com> Subject: [PATCH v8] serial: linflexuart: Remove redundant uart type assignment Date: Thu, 11 Jan 2024 06:13:07 -0800 Message-Id: <20240111141307.123458-1-sensor1010@163.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: _____wDHr_R0959layVQBA--.35417S4 X-Coremail-Antispam: 1Uf129KBjvdXoW7Gr4rXF4xArWDWryUZw48Xrb_yoWfGrX_uF 1DZ347uw10kFWayFnrJFyYkrySgrs5ZF48ZF10q39aq3yDZ3yrXr9rX39rW39rG3yUXr9r GwsrWr1ayrsrXjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7sRNvtCUUUUUU== X-CM-SenderInfo: 5vhq20jurqiii6rwjhhfrp/xtbBXhhhq2VOA58K1gADsk X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787803709535099044 X-GMAIL-MSGID: 1787803709535099044 |
Series |
[v8] serial: linflexuart: Remove redundant uart type assignment
|
|
Commit Message
Lizhe
Jan. 11, 2024, 2:13 p.m. UTC
in linflex_config_port(). the member variable type will be
assigned again. see linflex_connfig_port().
v7:
the first word and use terminating stop at the end of the sentence.
v6:
Use full sentences in the commit message.
v5:
Add a change log.
Signed-off-by: Lizhe <sensor1010@163.com>
---
drivers/tty/serial/fsl_linflexuart.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/tty/serial/fsl_linflexuart.c b/drivers/tty/serial/fsl_linflexuart.c index 3bdaf1ddc309..c5a04a168c15 100644 --- a/drivers/tty/serial/fsl_linflexuart.c +++ b/drivers/tty/serial/fsl_linflexuart.c @@ -837,7 +837,6 @@ static int linflex_probe(struct platform_device *pdev) return ret; sport->dev = &pdev->dev; - sport->type = PORT_LINFLEXUART; sport->iotype = UPIO_MEM; sport->irq = ret; sport->ops = &linflex_pops;