Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1679100rdd; Thu, 11 Jan 2024 06:24:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IGG4boHfRbpLG2GyI8QOWFS+X5NVKYIZ7N7ULHyNTABjNgiKjJtITZo3BI7pk7dF5ga9c1d X-Received: by 2002:a05:6402:3514:b0:557:5693:9806 with SMTP id b20-20020a056402351400b0055756939806mr514867edd.1.1704983065083; Thu, 11 Jan 2024 06:24:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704983065; cv=none; d=google.com; s=arc-20160816; b=m4caeKrjgBWW/Dds7GVAtn2nVKWZuWvcmAYlWMd/IEHwtXrD/f6Bp5SefbEy15zZ7c KHHzcHmpGtmZ+XKcNy5yiaM5bCc3DbvHdFs7bq2TpQbLhd3L4s0SrhtZJT4tUa610GOQ T2WzMlMZ1ZDmQHcB0CRapdAd53evoILFJgBNh7HM2Ke4HKtZOC8kkVrFUhwYDwAF9Apn f5HwUu0yER5k7JxpRHjttZAjVR9uKl+9gQJq+OeoSLZTh88Q2w7eIBLMMcv2POtSCL92 N7ux5+Nm5FwoJBo4Hm/t83wyBskeZe/aLqQgfsX6/vC8nfp+T/dgAcXTx6XaDyOYjzTH ReuA== 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=NdWck1RJ+IpJ17Xmj/T0oaXOjIgE4k+Q5QrVpzm1sjU=; fh=TFgiN+xVpdI3eYs8JCrj5W24rWHaSKt4N995VHwYinQ=; b=O90rr08znsN9fH7F8CgdV9PBW507yFKwZBIwfWvp62N+NYmbFOxqtM1sS33LeFIBuu LOCB6vqo7bRACizXduUpF9x4qqiaNqI1OzwUSWeTHbAQtkPFAdnXbwN9VkrNR2Ew5RUS WPlzrD8nfEiNZMyiY8rHjr+8bTm8hOLIK0C3Q0PJh/SsHGvDe20eA21xn9pkgjKLqA6X B9HLYejb0FVyTRgZuhELWfe4oWxVFZWjw/laCTNwk5ulQm8+xpCRrsxVr71baHBcNJrK ezWqyF4fMxdiET00x4zJPZdDNDHRjzWPtRFLoUyBdm4BdomDyT9cov+oUVIy3Upl1jQq KfPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=ipp+iS5x; spf=pass (google.com: domain of linux-kernel+bounces-23709-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23709-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id q26-20020aa7da9a000000b005581f79ded4si590351eds.672.2024.01.11.06.24.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 06:24:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23709-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=ipp+iS5x; spf=pass (google.com: domain of linux-kernel+bounces-23709-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23709-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id D20591F22E23 for ; Thu, 11 Jan 2024 14:24:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 966F93D3B1; Thu, 11 Jan 2024 14:24:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b="ipp+iS5x" Received: from m12.mail.163.com (m12.mail.163.com [220.181.12.196]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EF24E3C485; Thu, 11 Jan 2024 14:24:13 +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=NdWck 1RJ+IpJ17Xmj/T0oaXOjIgE4k+Q5QrVpzm1sjU=; b=ipp+iS5x+Jd5CycElPk8B cPgKnjXFqM6ecIxOw0gHBHmfKUiHeKssY3DqQ9TUHe+yLQlRxXoTg9cHuHm6WISm KdOb2jQyqFMjnbUbFl+CA+JvBOw75uf9FuyIv5y2F1wR7+K/uPa1GBFxUcGNWK8p /opAMHHkfl6+oWNaQcqFrE= Received: from localhost.localdomain (unknown [36.4.236.25]) by zwqz-smtp-mta-g4-2 (Coremail) with SMTP id _____wDn94l3+Z9lkf90Aw--.43270S4; Thu, 11 Jan 2024 22:22:03 +0800 (CST) From: Lizhe 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 Subject: [PATCH v9] serial: linflexuart: Remove redundant uart type assignment Date: Thu, 11 Jan 2024 06:21:41 -0800 Message-Id: <20240111142141.126879-1-sensor1010@163.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID:_____wDn94l3+Z9lkf90Aw--.43270S4 X-Coremail-Antispam: 1Uf129KBjvdXoW7Gr4rXF4xArWDGFWkAFW8WFg_yoWfurb_uF 1DZ347uw10kFWayFsrJFyYkrySgFs5ZF48ZF10qa9aq3yDZ3yrXr97X39ruwsxG3yjvrZ7 uanrWr1ayrsxXjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7sRM0eHDUUUUU== X-CM-SenderInfo: 5vhq20jurqiii6rwjhhfrp/xtbBXhhhq2VOA58K1gAGsh in linflex_config_port(). the member variable type will be assigned again. see linflex_connfig_port(). V8: Capitalize the first letter of each word in the changelog for v7. 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 --- 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; -- 2.25.1