Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp39076pxb; Mon, 11 Apr 2022 18:10:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1tbA3oUNI0Pm47MxFJNZZz5NRr49DkiYMfbya46oOtszBCTHxvtcPzW/rMpDzHOg9VpPW X-Received: by 2002:a17:90b:3ecb:b0:1c7:5634:df6f with SMTP id rm11-20020a17090b3ecb00b001c75634df6fmr2139301pjb.184.1649725820420; Mon, 11 Apr 2022 18:10:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649725820; cv=none; d=google.com; s=arc-20160816; b=PiDc7wWt1FTNgoxi1xqWXzl03OOP2B45jCkF1paZEFiQ7V5MwNbL0EYJw1vLxAAyVD xpU9/0+SSCzfpvrGwDGjs5PnqngZB4PapVB/V2Kq+TyrlDFrHY/bvqpn6xSuzPPr1E6z M87bRPqF1mCtQeazVs2fL9n/InLkZJsRWUSvgCDtjTdRG1GJCT7ROWkLJB1DG0xYeYpU rcPxdB776geQCqYZHnXm9KNVx6IwhOr2hKAJVJBluqR9f4C1oKdDlI0tfhDq2Z84dFSh TW85EkAhHqnJB5Zn/pHA6R10TkOA85sKXJwp4EbccpaIClDWCBfvy80D7ZvsZorXRpx4 UhUA== 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=sH4GWcet3t8UsheqwmzweMT86DhSlYFlIJ8afvdMkbA=; b=YC/jGZSq/m/VO8k4rsPr6ZqzYEKzV4RdzYz06laBh35aX0bwOXDB20DzXvxJhLquI4 BYr7stwzZaFVO8WKV5C1LPYJVIKNI2o8J7w3TQoyH3TdHQlf8Ym5p/Y4BHHvdMSYzTU8 ohTOWnxgRGcHz79kjHQvHswePjMma/Vwr7tRV5KQsYxKb4KBUHjVqlIKtZO+LebLQYgg j9MvmCrSJ/4ibHNKcI2o8VdOiYTe+7dto0yj/tGXi11IHvOcCWojc59ctPY86d7M+CC7 G+Gd95q4/9f++i+obcUTd0KrBSQTzshLkfPR4yvLgnnfLD5w0l+RxAmxrO6K00R9t9Xs Qhhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=LTrw3NSD; 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 s11-20020a17090302cb00b00153b2d16615si5314145plk.541.2022.04.11.18.10.06; Mon, 11 Apr 2022 18:10:20 -0700 (PDT) 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=LTrw3NSD; 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 S237603AbiDJKuR (ORCPT + 99 others); Sun, 10 Apr 2022 06:50:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237186AbiDJKty (ORCPT ); Sun, 10 Apr 2022 06:49:54 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABD165370C; Sun, 10 Apr 2022 03:47:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1649587637; bh=sH4GWcet3t8UsheqwmzweMT86DhSlYFlIJ8afvdMkbA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=LTrw3NSD5pR1mT2xtl5BD/JvFX1Q0D1uUHVI1pnqVEhYG5cZc4WG+eQLlfn5x/kJQ hJjUzTDy8Q7aE/zJ2Nkgh+CqrohMChOJc5sxsAIP0uYVbWZlyET6T42SJCxrgC4y02 P2CsiCgGy+2xHDR4ShO84kkvdZmyfANiQsPBli6c= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from Venus.fritz.box ([46.223.3.230]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M9Wys-1naBAv16nc-005WBa; Sun, 10 Apr 2022 12:47:17 +0200 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 RESEND 4/9] serial: sc16is7xx: remove redundant check in rs485_config Date: Sun, 10 Apr 2022 12:46:37 +0200 Message-Id: <20220410104642.32195-5-LinoSanfilippo@gmx.de> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220410104642.32195-1-LinoSanfilippo@gmx.de> References: <20220410104642.32195-1-LinoSanfilippo@gmx.de> MIME-Version: 1.0 Content-Transfer-Encoding: base64 X-Provags-ID: V03:K1:nxIRW4IpASBzZhIC0wKy6myh05IHHt/dHYiioie/NX+/0nfaj9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JIvZwBEQNzpjSOCPRHw0QzW7G V4Kb/9RTMcCbjkBHGggNQ0JA6F4oFjYU1ds4QJT1BJoA3DITVk//E3MYAd1Oox/3eQ3JoTkEN 10zBMbuKZzv1YJwTgCGP2O/axAVeuGBZ7AjP/hBschgqwNfiIZp/CGjrl0B2chSx1t2KCL+KQ S3ZSq+htgRL8CrXdx9rtN4uxLw33o48fDe1BxhoOLuEiIJZnJ84XFnochqijKQH+0660qSlFw 7hCUneFyc0ttig= 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 ZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEvZHJpdmVycy90dHkvc2VyaWFsL3NjMTZ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