Received: by 2002:ac0:de83:0:0:0:0:0 with SMTP id b3csp837221imk; Sun, 3 Jul 2022 10:04:10 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sXdbW0J+r8pGyHnhorBig9kPfD54DJH5/9Zrl/1ee/xY7swrPmVoVaso/PRvgCIM01nuNC X-Received: by 2002:a17:907:d29:b0:726:9e67:df9 with SMTP id gn41-20020a1709070d2900b007269e670df9mr24759746ejc.242.1656867850536; Sun, 03 Jul 2022 10:04:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656867850; cv=none; d=google.com; s=arc-20160816; b=Y91hXN7r8j14L3a+ozv5bOnUTiOPrxLfr77D86lklWLYlUwcV6uJFdM5OpDaKljmHJ 4l5G3z92H3blYj+ujJnQ6h6XBTkTVfSLUAVBVwZGLu9qbNUltD8IitpQ6JpPkGizdT1E ka101YEQT+//iPH6b1abn+9VX7RkZpEexNaG0jnmFg1Dm8Zse2Awlkzl6j0l1rw3M9x5 9ATH67XHnirQNg4J2JXrdTD9hJxX4CMTN8OoWG/ML6t+axgiZLOxOA2z7JKxMrZenkO3 xhBjsTn7NCj14SGGNq2ESL6iyeLbHXcV+ztuWpGZn9wPMdTWWQ9c1Xr02pIaaFbyeBTi FY3g== 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=Gw9NEaUgWzJlqBYAtK80pixVAewS3QXQKW91nfrstD4=; b=xg/9tfb6EuqNFZOl5Sw8H1EhWAdHXzT/urr3fuJOYXgqP2TrXmJ4xD+9ajU1i+jq3N Z4TMN/xyd1aQzs4eZNaFgCI2W4YSfmD9Hgqs/wH/zkGHL/R2Bt3TOfgvO6ZhKEXH7TUr v+8pwz9XF38rlH2MUnZ7gN/qi1hru3y/eF/CXV3/msfzKo3hS4MqAVOn2ESCkiOMjKY9 QGDmyaSHk2kaEvZhxKfcJdBkLK/Du2poHtaIguT52ct/bq4Ms2yxpVwpZzyol6Tk15xB /vzvze1Fzw6FfxlpMwKkn2HQpqOFhXfJTsMXnta+V8K5O5UxkpVyoLyaDbzlynzqdNEg +B5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=BCHYoqoD; 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 l3-20020aa7d943000000b00439fe09e499si4501963eds.440.2022.07.03.10.03.44; Sun, 03 Jul 2022 10:04:10 -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=BCHYoqoD; 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 S232844AbiGCRCR (ORCPT + 99 others); Sun, 3 Jul 2022 13:02:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232197AbiGCRBz (ORCPT ); Sun, 3 Jul 2022 13:01:55 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 108A36367; Sun, 3 Jul 2022 10:01:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1656867692; bh=Gw9NEaUgWzJlqBYAtK80pixVAewS3QXQKW91nfrstD4=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=BCHYoqoDyTIfRPQSP3pz0be+L6Y1yTs6mrMlhnaZnGTDscZFIVEkw8Ftu04175ys3 X3zc7nRc0Po0E5D37M+aS5FkWDUfPVkbhPftmLfWAY6+hApnEq1P2nxfn48dFJngCK J1vXAqZbjgSh0CFbemTj9mVXrrcvMhrEj20bVGow= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([46.223.3.210]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MNswE-1nwzH21HTM-00OH3R; Sun, 03 Jul 2022 19:01:32 +0200 From: Lino Sanfilippo To: gregkh@linuxfoundation.org, jirislaby@kernel.org Cc: ilpo.jarvinen@linux.intel.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, andriy.shevchenko@linux.intel.com, vz@mleia.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, lukas@wunner.de, p.rosenberger@kunbus.com, Lino Sanfilippo Subject: [PATCH v2 6/9] serial: 8250_dwlib: remove redundant sanity check for RS485 flags Date: Sun, 3 Jul 2022 19:00:36 +0200 Message-Id: <20220703170039.2058202-7-LinoSanfilippo@gmx.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220703170039.2058202-1-LinoSanfilippo@gmx.de> References: <20220703170039.2058202-1-LinoSanfilippo@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Provags-ID: V03:K1:AgTxFL7r7/KltmrTUlOEyF+V9kwKsTZye9xp8F5aWwyBq8ROOC2 EYKSeYZn/3j3mXtxqxwFZ1NysE7MZAMpa+L2/MmHtLd6P1vinXWmbw3YgzHVbqZyq5banr3 WOXMu+dT7Vuo/+aM4npJVetk6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K/IRWUU0C7 BvW0zP5MGwLrCSN+nu/plLr0Kja7ofBu+nfDfG59AehsFW8yQXowz/SK9MhOQs4Hxis6aMCFM JBE19nyxxniF0+LU9YIqvidZY6jbRkyAU8bWo2Uni8nhZHqeGw5u738Ful3ExGQOVKDoExlGx MeMPq+bgywM2dUWntvAqS7yBBgyHVIcW4iufZGSRwUhcCYHWMiA1eXf/A== X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,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 RnJvbTogTGlubyBTYW5maWxpcHBvIDxsLnNhbmZpbGlwcG9Aa3VuYnVzLmNvbT4KCkJlZm9yZSB0 aGUgZHJpdmVycyByczQ4NV9jb25maWcoKSBmdW5jdGlvbiBpcyBjYWxsZWQgdGhlIHNlcmlhbCBj b3JlCmFscmVhZHkgZW5zdXJlcyB0aGF0IG9ubHkgb25lIG9mIGJvdGggb3B0aW9ucyBSVFMgb24g c2VuZCBvciBSVFMgYWZ0ZXIgc2VuZAppcyBzZXQuIFNvIHJlbW92ZSB0aGUgY29uY2VybmluZyBz YW5pdHkgY2hlY2sgaW4gdGhlIGRyaXZlciBmdW5jdGlvbiB0bwphdm9pZCByZWR1bmRhbmN5LgoK U2lnbmVkLW9mZi1ieTogTGlubyBTYW5maWxpcHBvIDxsLnNhbmZpbGlwcG9Aa3VuYnVzLmNvbT4K UmV2aWV3ZWQtYnk6IElscG8gSsOkcnZpbmVuIDxpbHBvLmphcnZpbmVuQGxpbnV4LmludGVsLmNv bT4KLS0tCiBkcml2ZXJzL3R0eS9zZXJpYWwvODI1MC84MjUwX2R3bGliLmMgfCAx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