Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2548674pxm; Mon, 28 Feb 2022 01:02:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJz4U08k7HG589T5EHQe5VUN+H7cwEu1MLd0wUHNHFqAWawdviivVTVrIqqCJusIqGbOEcRP X-Received: by 2002:a17:902:ed8e:b0:151:449d:4c33 with SMTP id e14-20020a170902ed8e00b00151449d4c33mr10909951plj.138.1646038941961; Mon, 28 Feb 2022 01:02:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646038941; cv=none; d=google.com; s=arc-20160816; b=eJJiF+0xOCihRuL07YvIgEEwNY+eVwnqccArNPSJkJyCLBugi7yn7FJ5mhvCcTr3TH MTcu7mqf6kJp1GXQ3rLoYxzWorAbcZorCaV0sWxxfr0J3LPFF3H/GHiaourPNFCREg5H daj4ZageXw5Us30fykUoLdKBTa88W9AQr0WSwljHYE0g60pu/6Rr+PxM1rh4HkP52uAG oU00QpL62Y+cq5Op/RudKbpGDsRHgDHIfYP5rSPRaxEh5SKz9N+CLMOIglWoObaTW01p zm8uJ5F0VPgASgI+go7m1+UzUkjTDDPDx6IQwtA1PSKP3y4Hq0CKXuzrHoRlyOllG7BQ 6ImQ== 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=TpdW3ujSzU0TXKj+hjSJqItA5IWaO0lajrfotqHvNTE=; b=fp9AB0VwxDbA9yeGWJv5MxmKOYGlr7zT5dGqhPq9px5Hv4+NcQMwnPm7IkMjswV3zc pCYTByUwykOdiky8Ziwdj35YoSYPLduZsScvi6y1Q3MSI+d1BAvJolinynXIbVAsEGAR kIdBGV0yOvc87JfjMtXsDRo70H+c6ra4ajbj9FWcqj/I4jqwQ+WaEJQbS9Y9Sp09kEA+ 9MAYfRPaDONrP5gJmUy3gzbTAL7nKhPfHbSC1aYpQ0mo1obcjWXiC9yuMrIvlY4aOZG7 k9oqKvfbui8jT6CvVdjRf8l8y6DodUX342IO7YKkPm3c7bNgu1LZ5NYFY09GfgtS11uQ Lp/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b="SHDpFx/t"; 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 u14-20020a170902e5ce00b0014d5a132a35si9585173plf.619.2022.02.28.01.02.07; Mon, 28 Feb 2022 01:02:21 -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="SHDpFx/t"; 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 S232817AbiB1Clb (ORCPT + 99 others); Sun, 27 Feb 2022 21:41:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232433AbiB1Ck6 (ORCPT ); Sun, 27 Feb 2022 21:40:58 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CD3A6D84C; Sun, 27 Feb 2022 18:40:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1646015993; bh=TpdW3ujSzU0TXKj+hjSJqItA5IWaO0lajrfotqHvNTE=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=SHDpFx/t87YD4N39Vn0qmonme2X2chHIAI7X3OefweS/IUkys5tCyBcHo7Td1Lv7v 8L+mKBznQMuaBoBuDtrf4Nuqxi5yDdtCt5jJgVYzMG9mWinpHOQbCBb/hEmb65u1xV jZ6CS6XQaXj7nlhKdn94u+MPeC3k9hRRsihy9jBM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from Venus.fritz.box ([149.172.237.68]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mg6Zq-1nqglD2Osw-00hbbS; Mon, 28 Feb 2022 03:39:53 +0100 From: Lino Sanfilippo To: gregkh@linuxfoundation.org, jirislaby@kernel.org, u.kleine-koenig@pengutronix.de 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, p.rosenberger@kunbus.com, Lino Sanfilippo Subject: [PATCH v4 4/9] serial: sc16is7xx: remove redundant check in rs485_config Date: Mon, 28 Feb 2022 03:39:23 +0100 Message-Id: <20220228023928.1067-5-LinoSanfilippo@gmx.de> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220228023928.1067-1-LinoSanfilippo@gmx.de> References: <20220228023928.1067-1-LinoSanfilippo@gmx.de> MIME-Version: 1.0 Content-Transfer-Encoding: base64 X-Provags-ID: V03:K1:oSVWg5rBCqpWa6pMX1jUqajlxQKq82aAt/AFQNSu3Xr1YF5rLO9 gIR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kgLOBnCsTrXhPirHSmQtf+j3dv fIfD4Ye/9gGYqE0qOBjm3edIfRSi5yVevTNkFdvkqAyMip81Op8bcfwCXsy3X6j0FDHNGXs6+ I7kjs+7gIReooFF0KZwm5xgYWYpq3aMe1XiwMDyGaNyJku4Vh3HJeQ3wryzSK7JZ8vRd11c94 GwoqbsymVyx4KbVM1fyuywBSP2sBYkxznP0SvCT0MoNmctMlvnZ95TlsGhLyW2geBCOa1e3Gw +J2WXUMF8vHeyA= 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_H2,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 SW4gdWFydF9zZXRfcnM0ODVfY29uZmlnKCkgdGhlIHNlcmlhbCBjb3JlIGFscmVhZHkgZW5zdXJl cyB0aGF0IG9ubHkgb25lIG9mCmJvdGggb3B0aW9ucyBSVFMgb24gc2VuZCBvciBSVFMgYWZ0ZXIg c2VuZCBpcyBzZXQuCgpTbyByZW1vdmUgdGhpcyBjaGVjayBmcm9tIHRoZSBkcml2ZXJzIHJzNDg1 X2NvbmZpZygpIGZ1bmN0aW9uIHRvIGF2b2lkCnJlZHVuZGFuY3kuCgpTaWduZWQtb2ZmLWJ5OiBM aW5vIFNhbmZpbGlwcG8gPExpbm9TYW5maWxpcHBvQGdteC5kZT4KLS0tCiBkcml2ZXJzL3R0eS9z ZXJpYWwvc2MxNmlzN3h4LmMgfCAxMCAtLS0tLS0tLS0tCiAxIGZpbGUgY2hhbmdlZCwgMTAgZGVs ZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEvZHJpdmVycy90dHkvc2VyaWFsL3NjM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