Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4423626pxb; Mon, 21 Feb 2022 21:09:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJzyzO6VzDW1aMebD/pLE3LGEDIoliONMNKO00tFnKoRbJdu7lifFAnqcXQIyVHdkvg+dGWo X-Received: by 2002:a63:9dc3:0:b0:373:5fac:6063 with SMTP id i186-20020a639dc3000000b003735fac6063mr18500600pgd.531.1645506573477; Mon, 21 Feb 2022 21:09:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645506573; cv=none; d=google.com; s=arc-20160816; b=RYWgeHyu/DwZReYVV8zP+SrwV28dt3EiymoWq10DTmkMf2GPZQSvmhaaykhBJ8t8FC JIvRF93lqWNsTF1c9XffEIbwthr0152OhpyhXImplIWMaqw8UUmai+26JFhBlIvmsU7c vXNDwOylejNc9yZR3YpCS5ZeKFb0OXOp6JCdTmQFTxTfqbNkJyP5Qtpe353jwfeQq/kE LIVpmfkKkTTcsg2PoYl0aaV4ldRFI1I61EQAga9D6+hbQPwmp7b48P25e+hT3UJx34rr jsvlq9mI09RhcCy61BpdNeYEbd0IaUpdoTmOKtt8nOG3lsRIpMqBLBimV049mHO8LsmF /LPQ== 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=q9DO7/fg2xOZjFdAWb9ykKHQwvph2xk9kVhhmi9Mufs=; b=Ttt2jFtzQcfc64QJPlJ23PGM0zhoLmv9X+GOn8uTPmAAdLaPHpbE2VVNFvUGMCISXI xv228sOY+W8ef4tQZs1BTMri0vkDUAiEBmcUUT+GF3/uQfyKg3tQDSAbFfMkVmS5ent+ JWMKg1yNWUz16zQUIFHvBeTqmITx5B2ZFUahkKmY+b7F9plyQM66UGgNQpvCTiPTY3Av tabPzhLi3j3oFrp7n5Qsa4/SiufDcNOuEmZwkczqiJpPMS1wXGFtz+SAkkCQlZfGvC20 n3CpVp9O/RAIjfIcZfLDal81wa0dQyEr2qrD9TtN07LMFM62HaTpEgqIzo64wKS83uQk M0lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=Vcz55CeN; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id be6si20298700pgb.869.2022.02.21.21.09.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 21:09:33 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=Vcz55CeN; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7B18CC792E; Mon, 21 Feb 2022 20:42:34 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238208AbiBVBQ1 (ORCPT + 99 others); Mon, 21 Feb 2022 20:16:27 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:52256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238063AbiBVBQD (ORCPT ); Mon, 21 Feb 2022 20:16:03 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12D2B2558B; Mon, 21 Feb 2022 17:15:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1645492509; bh=q9DO7/fg2xOZjFdAWb9ykKHQwvph2xk9kVhhmi9Mufs=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Vcz55CeNnKecxWsY+LSbi5KyAgYWgOUaC+5bzPg02gy6zvnVqvpKeiH5u60J0AOXk PBjuPunYbsTgBiqT0LVTPpOdZ3LWPBvZLg2zeTqIdg89iUX7lVXaK9A8tAibNkNTDJ oUKy8y/xQzO0smKEl2ZsHp2X1IIPlNNLatRLRhjQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from Venus.fritz.box ([149.172.237.68]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MdefD-1nvvZM0rVh-00ZhnZ; Tue, 22 Feb 2022 02:15:09 +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 v3 4/9] serial: sc16is7xx: remove redundant check in rs485_config Date: Tue, 22 Feb 2022 02:14:28 +0100 Message-Id: <20220222011433.8761-5-LinoSanfilippo@gmx.de> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220222011433.8761-1-LinoSanfilippo@gmx.de> References: <20220222011433.8761-1-LinoSanfilippo@gmx.de> MIME-Version: 1.0 Content-Transfer-Encoding: base64 X-Provags-ID: V03:K1:tIxe3R5aj/xYwDMk5u7jQ2OEUfwHp37Mnn4DCv39EdTF+0G+o5M pLpdSq4pgFPgrfW4xSi751av18e2KtauIOlv7UXbD/fDH1JN/jTwkEzNbs4iOWcvdgwDnwJ RLIhXw87ndd1GoRidcjfIYjEJer3zgfvim4JrDSLBi6iqMDAOv5LfrgMU0sfbI0rCOz3IZJ ENvjOnwU/p70MF415thaw== X-UI-Out-Filterresults: notjunk:1;V03:K0:Bk6LWvT7BT4=:BslbZxIX6vuRNgXN3BK4wz GLwX5BTmDqY+375EAHBAkqyFRY8SCNG3HQIv/DIycN56bToaVt3oKr/H96sdfNoh/KNEVrL5u o9YN2HZPIPcaABkeSgPrh09qpRVJVgPDZsQJV+ZpsIvmKX9E2UJqdtyA5r1+5BJam9w0zjDKC 0wAEm8nw0Yl6wURxRD4yJ/PiABUMrOS6G5Ap1Rud6HDX7URdOxV/FU5sykaswCEfEIzl88DMa 9vipAjrnxx6aIAQpOG6vDG+kNQ0enb5Bzkt1oK3mL3o4iDRMum7uLb4BJZqQDZKY++5k0mAjt KfSfjnM7HrdukJQPz8Y72R2wysxLE+/AHPdjqSrJPH9Uuf4pFRoye4upP1tGSwdbsXO9+PyzF 1E7TA76PwnAN2WgIWtqPmIdooE0g7vz4dUYNAVvhWZf90rPIvHgEFpF6LGVgjgaW62iu7g/Bx eaCaIBDpTfK/HZddEmoIAsgRP1xrhdxQY+Oky0w9O9UyeyAfYOz0PPavz9wkiOLHshhLB7YMp w2UfoKnP+EZkLSBsd15Z+o9dzY0OnL5KJsrCOjl7XbKeWLaOa7jghJka6+7KJmrkO6g8AX3cC zQDcDWoZwYBJnqMuFlbc5aVjnfEPlzhHEGaLZuYyrM8p5izrwHd8CBSOVDGc7krQxre2Mj6Ye MTQV/TWSMS6NzV2JtVmZghVYrivo4ovqy/tsM284SdIJpXsXgjIvdbahrmAZ1cSJHHAAqN0lG 8zWJSMvu24AU2lQYS4SgOdohZGqh2gaIsM2jZ+J9ckeTymMSB2kF/g7xjbAOD3FAqy+LETPCh WsV7YJwHuy55+eUHcApoxtS2EScjRfX8P/0Befgqnm/lS2XDhPdZDp1wGLBpEJMfgz8N7Bct1 WxI35vzXE4c7XFW7okDJ+WwM6UQ7yUQFRP3nkkJtLY0hgRERYt2S3QpL3GIwlrdMRSaff0vTe CvN0mUWtWzS9VtC95tphM9nXhsvv/cFne7y5oI7JKCyk1kZRGyM8iK2ocYlme0A5yDgzg6Z5V EkAXVwtcRoytlbZ/Ww/RDtkAHM55nIaglzmaD5a8KsNtmROG4DUj0YNt0LrJzTWuNol+4IJGY LkJ3VDMGqDk7i0= X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MIME_BASE64_TEXT, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 aW5vIFNhbmZpbGlwcG8gPExpbm9TYW5maWxpcHBvQGdteC5kZT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