Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5553212pxb; Mon, 14 Feb 2022 01:42:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7cm0jPducoKtfavoOFbcxjRxvXW6c4i2efz+XPonDh63UOhVmCFlC9b1dsLr0TNTAcNOz X-Received: by 2002:aa7:80da:: with SMTP id a26mr13365573pfn.7.1644831765051; Mon, 14 Feb 2022 01:42:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644831765; cv=none; d=google.com; s=arc-20160816; b=VCf2IEE+yAfldZ0CATIG+tIFaNzWUAQy3Sd+2bGhCQfzjhz0wytgehmCUprRLmV0jv QRJkzQWi2y/tDMuXvSYlcYOrm/P4u2gr2At4sBf+nsjTY6ncVj424/2pcXFgQ1cEUlmv K1Ywv+04y5OO8wYXIFlrVxSCvKhSh2DVAQhZKb3HjYNmjq65fKiD4oM6VWlXOJGY1XIT PUcGafhTBe6HEqoN4NFpXvKWDBkUL6K2X+nYrWpq8CaFnptKlvtSFl5Q2RmKjdwpFDmJ mKdXtTkXpPPQlfoq9h6c4kI4UJoUe1/NkyZnB9MYr+P5l587RclrZxGdek2EFtWlEdcD RIsg== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=qLYG3ShC2H3ubPzsSwJCdlMrSsl/GQcb1NMteyXFxUQ=; b=G+9z1rNPfNpQwdazN+9wE1WhXPLIShcIGNYCOs909qdpri8nLTKkSmK1zT91MvX6wi I6Mb74WG34VjRznwWevuGdpTPeUwtm410j4ePBJqQ055XWycZem0Ohd71NOx6J1KZA63 SB+IQ9gSHS/vX5427ND5W0FP+enwvxdYXdGbMbLdOSxjZatHhEhBJ6HHGUEC7W5Ha107 znXP978UVFi3nW1FSP/k2jm2lv6I6d/u2cd/uFfx5nXrQRaeBOuAcYrEcaxCr1I2dj7M FwQdxh2syk+Nznhq+dK2HiIcwCeWxfQyCf6egYO0mM64BBIaxGoE6e2vRvBxE3viKZ5J mdlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=A4tA82Op; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 203si2543967pgf.749.2022.02.14.01.42.29; Mon, 14 Feb 2022 01:42:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=A4tA82Op; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238750AbiBMWeT (ORCPT + 99 others); Sun, 13 Feb 2022 17:34:19 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:52514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238693AbiBMWeJ (ORCPT ); Sun, 13 Feb 2022 17:34:09 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D54A54BE0; Sun, 13 Feb 2022 14:33:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1644791634; bh=qLYG3ShC2H3ubPzsSwJCdlMrSsl/GQcb1NMteyXFxUQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=A4tA82OppBmIjt8/B6k4xEFGXfP9PH82xsLuWBrRi0yxA6c+IDNGtwsu/oymvy2kb eggeK0lbLBZRmRCLJL1+fLAxmogiNEtbNQ3M011n4zwE/rkIoMmjynjvqFW4WmGLI1 SafSW2vu3AdeTvYCNwCXfG+mCRMZ5cy5FM9CdKgU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from Venus.fritz.box ([149.172.237.68]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MHGCu-1nWcsj2aye-00DExV; Sun, 13 Feb 2022 23:28:09 +0100 From: Lino Sanfilippo To: gregkh@linuxfoundation.org, jirislaby@kernel.org Cc: linux@armlinux.org.uk, richard.genoud@gmail.com, nicolas.ferre@microchip.com, alexandre.belloni@bootlin.com, ludovic.desroches@microchip.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, lukas@wunner.de, Lino Sanfilippo Subject: [PATCH 6/9] serial: max310: remove redundant code in rs485_config Date: Sun, 13 Feb 2022 23:27:34 +0100 Message-Id: <20220213222737.15709-7-LinoSanfilippo@gmx.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220213222737.15709-1-LinoSanfilippo@gmx.de> References: <20220213222737.15709-1-LinoSanfilippo@gmx.de> MIME-Version: 1.0 Content-Transfer-Encoding: base64 X-Provags-ID: V03:K1:pNx+oEQyE87SI8SUhuYE/49GQx6eFVSP9sCHmwT/ditRcv0ylZN rkC/z0D7Q2MUrIrRUkpVmA71yNbDTddrfPtrt8KCP/4yOZ2GPb61Nh3ULguiKqL0WQstrUN QGKtvqxZref4S6azX7N1AacR+IVk1yM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/1jj/uw+hlDZXXoglf87akB8Lzo9KdNIKPWa5MBVUz44DwqXT86iAnJoUpccAU2JmgXg+UTUK oBr1iBcqofPTLF3NDQilGRN7hBcWLyeFUgNfxY9iP0xfN37jM8OFXf5oJcSiUMfu7xOddXAVW UnK0ShGsRhg6VU= X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MIME_BASE64_TEXT,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org V2hlbiBSUzQ4NSBpcyBjb25maWd1cmVkIGJ5IHVzZXJzcGFjZSB0aGUgc2VyaWFsIGNvcmUgYWxy ZWFkeSBudWxsaWZpZXMgdGhlCnBhZGRpbmcgZmllbGQgb2YgdGhlIHJldHVybmVkIGNvbmZpZ3Vy YXRpb24gc3RydWN0LiBEb2luZyB0aGUgc2FtZSBpbiB0aGUKZHJpdmVycyByczQ4NV9jb25maWcg ZnVuY3Rpb24gaXMgcmVkdW5kYW50LCBzbyByZW1vdmUgdGhlIGNvbmNlcm5pbmcKY29kZSBpbiB0 aGlzIGZ1bmN0aW9uLgoKU2lnbmVkLW9mZi1ieTogTGlubyBTYW5maWxpcHBvIDxMaW5vU2FuZmls aXBwb0BnbXguZGU+Ci0tLQogZHJpdmVycy90dHkvc2VyaWFsL21heDMxMHguYyB8IDEgLQogMSBm aWxlIGNoYW5nZWQsIDEgZGVsZXRpb24oLSkKCmRpZmYgLS1naXQgYS9kcml2ZXJzL3R0eS9zZXJp YWwvbWF4MzEweC5jIGIvZHJpdmVycy90dHkvc2VyaWFsL21heDMxMHguYwppbmRleCBkZGUwODI0 YjJmYTUuLjJ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