Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5574393pxb; Mon, 14 Feb 2022 02:21:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJy11ZoeKlnybJuvDK/4fpw6MwaWX+xDo6xpRCIfJcZE2Giyni5CXSdBFauad0CS1B6/miw4 X-Received: by 2002:a17:90b:1a85:: with SMTP id ng5mr14023155pjb.53.1644834091378; Mon, 14 Feb 2022 02:21:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644834091; cv=none; d=google.com; s=arc-20160816; b=xbyibs9pu6BB8XjTzMOxKZmRMjkT/JTLO1phFs5Snr10WCA+ADCW5CsvOkT3xLWQHb qCD2DflQHeqyzESBvZgyJMJIs75PwCTo3cyPhQTuq3F5WZX+fyaQKc7M7x1MNt4auC2z K3D+qSJjJvXp+FWqB+JM+UqgnWqR/MrbCxJsR2zOVWINYhMnsEs05FTUhaGMI5tlK+mc tlkdAfCPICRDeNIcoLUNE4iANEL/Xrj0amXET43LHGV21DVvINACWHc5M5Job97UT4FS RmIIfSUFf6fZDxqVeP1GFAZFWN7x/cO1hhBFI9iwwe8QhvO9zXul+EBaYGZ/27NxwqwH w10Q== 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=e4EzhSBd05ZEK5ajCopJGbJXFDfnsrEfcW+jvd6E+EY=; b=Fhjk3zBhRDbNNjIwMuj7RSDL50uPCfcFKJ0aWOI2hjYa25/RpmgIXiMgnzQvOW+RMA qoO2JkYOMlBJlDwXrOCYhPd+mRYh3nill3ef3DsVd/Tedi5A31hcS87whg3hCcvzulVi zo2TeB0tHSIkSKiXGFc7qZnHug2MFN/e9Ga9NMRYSVXdFC4FB4RQECODFskC6QvQpeqt ZIPo35Ujm9RYXZDZLUrimHKx9vy53fbc/LrUW7lnJ3bZnNmOk6Y8uvEcZ8f+Qnn9eqav HOs0SWSgcj+YS/CyCphgmgNgctD7h7jQnw34emL0Jq0VHXUsMYmSmTPqN186hQGn9dR7 LrLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=YxwTNWkL; 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 s7si33079193pfu.268.2022.02.14.02.21.16; Mon, 14 Feb 2022 02:21:31 -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=YxwTNWkL; 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 S238688AbiBMWeH (ORCPT + 99 others); Sun, 13 Feb 2022 17:34:07 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:52340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238641AbiBMWd5 (ORCPT ); Sun, 13 Feb 2022 17:33:57 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AAFF546B7; Sun, 13 Feb 2022 14:33:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1644791629; bh=e4EzhSBd05ZEK5ajCopJGbJXFDfnsrEfcW+jvd6E+EY=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=YxwTNWkLhFD03TT5KQxsIOnM0JLeOn4PRCCayDr7YnHyEZlDRAJpwIbswgGQTasW3 qofz2TAe1ncgIlMRz5EWMvvsA7TNoDjjAQ8zeUlqSBLPFPNWGZCCx1f6nKeD0+7r0h bt4cwdEJx+CZfEwGMXEv1ypOYkQcUyStCXePIHWg= 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 1MhD6g-1nxP7t2Zs2-00eI2N; Sun, 13 Feb 2022 23:28:07 +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 4/9] serial: sc16is7xx: remove redundant code in rs485_config Date: Sun, 13 Feb 2022 23:27:32 +0100 Message-Id: <20220213222737.15709-5-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:dCybVK/xN3+Sufq+aIz+9f9d8QRQ5K5pMV3gwc6qC9O0NCSdf1D cunb/0Yy49nK2WJiwnG/+2iYNACFAlKyWdWsfvp1naKMMsRuUqdzTZzl+xqlpHZPw3EmPHH cibXWxB0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Xy9ydXhvb18MNzw0Lci9x2nmlDR 2OSmNZSiuZLpXr8nMZcQ/HNgWYKXqqUJKEBYv/ugC8s7C/oceyK2nlV/lDN+LPHstugZZe0I1 Oqyl0UUYvuFanmA3mcrnAKCCjKY49OsjH/QMoRcQDQLWi5sZphn7s5qA4P0yhCLjPSHHoyFsC HM/vL9J+qwIFjU= 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 ZWFkeSBjaGVja3MgZm9yCnZhbGlkIFJUUyBzZXR0aW5ncy4gU28gcmVtb3ZlIHRoZSBjaGVjayBm cm9tIHRoZSBpbXBsZW1lbnRhdGlvbiBvZiB0aGUKc2MxNmlzN3h4IGRyaXZlcnMgcnM0ODVfY29u ZmlnIGZ1bmN0aW9uIHRvIGF2b2lkIHJlZHVuZGFuY3kuCgpTaWduZWQtb2ZmLWJ5OiBMaW5vIFNh bmZpbGlwcG8gPExpbm9TYW5maWxpcHBvQGdteC5kZT4KLS0tCiBkcml2ZXJzL3R0eS9zZXJpYWwv c2MxNmlzN3h4LmMgfCAxMCAtLS0tLS0tLS0tCiAxIGZpbGUgY2hhbmdlZCwgMTAgZGVsZXRpb25z KC0pCgpkaWZmIC0tZ2l0IGEvZHJpdmVycy90dHkvc2VyaWFsL3NjMTZpczd4eC5jIGIvZHJpdmVy cy90dHkvc2VyaWFsL3NjMTZpczd4eC5j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