Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4416917pxb; Mon, 21 Feb 2022 20:57:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJyspN1geggjwROqSJ5dHC2DQBjk1L7Bknfy8T4dtiC4xWxFJOB9M0owtYtF55xPmhA6dB1x X-Received: by 2002:a63:385d:0:b0:36c:479d:c0c with SMTP id h29-20020a63385d000000b0036c479d0c0cmr18365526pgn.444.1645505853172; Mon, 21 Feb 2022 20:57:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645505853; cv=none; d=google.com; s=arc-20160816; b=jGCIBWU3/EoAVSwea8bc+xrN+ehUBIIbTD39tth1ciXlFEhfPAl6jJYB+gaFJXF7TG Enmft6tLdTFeMgrfNCzNSp4q0Haeq625IA58FVPbvnS43PE/NZSMuzCopF8EbY0sACzf re7Y6CDSAEH8oa66XCdOr077zwUOVr8m2d/wt3D78QGH4yc7cx5ZvdW6pnwJkfabimXe eOsugE60Iojh4SqK3rV9hOYPv8+zpDFyADVwQYB1TTR5Za9/q1fZGz4mg9p5NSHpeocZ zK/0oAxz6paLL5mCvFibrPyriUO/evqnQxk7GQnMZJascUkI4WwnBy7ph57+kPza0Sz3 Xzig== 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=iPI9Eyd+3C6S85WoH/RH9YiOHOKEC2bR9K+d8H8925A=; b=QQA0RmS7IOq7mhynwKVgeywZfQsd1sPjXUINhlbP0ZdI5NnfjJn3HuXkX45M2K9sil zWAWd3lTMbXMUueZieMiuVOSMlOCEDQMGjYsxh7jdNR0T11OnLSI5NbZzcq8dT1ZQvLI K+BM52j+bZf1KoiIabT3Q3YUT4mJmm2P5MmLvKZwQhNtt8Snbw5vvcaQJmGi/iXctdy+ TYKovqgGQgoxlJajkydIvO7LRNvlf8lJAguOLDgELp0IQsAv1x7x7AsdJoCtBiSUUicP 7cOSeEDpPTnxownX2LbO8MaZysSaonNeoQVqkAuvLigFBsqxMbVbX/8oHQA+EK1Uz0SC cnXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=jjT42f6h; 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 d7si11289263pfu.143.2022.02.21.20.57.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 20:57: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=jjT42f6h; 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 DA8B163A9; Mon, 21 Feb 2022 20:34:38 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238226AbiBVBQR (ORCPT + 99 others); Mon, 21 Feb 2022 20:16:17 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:52248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237123AbiBVBQC (ORCPT ); Mon, 21 Feb 2022 20:16:02 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0817225585; Mon, 21 Feb 2022 17:15:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1645492508; bh=iPI9Eyd+3C6S85WoH/RH9YiOHOKEC2bR9K+d8H8925A=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=jjT42f6heZiJwoGFdqhGVNEsThg3FASN9KHgvZ82tGkVa01YSvpMnI7qFnQoX0401 d7c/u/kromWD/RY+B0UKGLmRhORjvzkJ4zs7exioVzkNWMO7NVWIdUnjffL/9FMWfP IbBJOINbX3DOuEXrkq8nH82EZTINm2KG7jOJwXbM= 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 1MMGN2-1ndRTm0MWk-00JHRS; Tue, 22 Feb 2022 02:15:08 +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 3/9] serial: stm32: remove redundant code in rs485_config Date: Tue, 22 Feb 2022 02:14:27 +0100 Message-Id: <20220222011433.8761-4-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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k IHilBEYPe+qRnqW1ARDjUev7suh18E7xI/AJNKe7t3d/1MtgDKAv3MHvkcVzkpEwqtb+3crzZ R5mC50LfZnHm5k/dtbALO4DX2Cs1gfiin+nOcxQq1JIWROZcWBb2J9dOpjZAmIV/DCHiIugNB 7PiOcvN71WsaUoOtVdE2MJcTZ9JXhrnl04/ojga6eMhCslBwjfCY7F50zFOetRLlrhGSNeOUO D+CdlP+aYvqypGXw7CGnIMJ8RdLNKEIOLrlTUxq6iYg6gEu8sDDQbY5K4z2pmSLZXzKtAxjKY 9X0H1WXHKoSVcnQIJEo2Eiz6fZjohQqfClAxXADR2+e5N4jc0aDtVUh3ErcoAZwHLDfQZ315x X6diRwpdLWdmow= 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 c2VuZCBpcyBzZXQuIEl0IGFsc28gYXNzaWducyB0aGUKcGFzc2VkIHNlcmlhbF9yczQ4NSBzdHJ1 Y3QgdG8gdGhlIHVhcnQgcG9ydC4KClNvIHJlbW92ZSB0aGUgY2hlY2sgYW5kIHRoZSBhc3NpZ25t ZW50IGZyb20gdGhlIGRyaXZlcnMgcnM0ODVfY29uZmlnKCkKZnVuY3Rpb24gdG8gYXZvaWQgcmV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