Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp285552iof; Mon, 6 Jun 2022 03:32:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfpZil7I44jBHR3gRBjm/aPehnHjObupjT3+krJkaOXh3ojxiWhcYWrjirf290QFzkCBvc X-Received: by 2002:a63:5313:0:b0:3fa:9d26:9fe9 with SMTP id h19-20020a635313000000b003fa9d269fe9mr21233438pgb.214.1654511550799; Mon, 06 Jun 2022 03:32:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654511550; cv=none; d=google.com; s=arc-20160816; b=I3nOWGO2cxebYUNvFtAkA6veFzXet+uNvOvB3amHQgZm8NkvhNLOZYQTSY2EkCCxES RRBFo3mePG5cU/v8KBlB2X8Pd7OVKCQG4/F+a+9bKv6/p8oxKMiVWTHtvw5N9sXD1d+9 G9Q1kqiRIIeGuqQu7+lr4YU1S5ui640b4EeUOXWZ3vTfisxwqcig17eMibaj55i120r3 mlDIqo0P5dQG9gC5uWVtwcweQ/vE83UHjzk73p1e1WjMUDl6ZS/RGuOQLSx550I8jAme EjFNGdxmHuOjwMG2We+ZiRQPYjoFmiEVzGlt+0Mc5wMt+L/Hubtn3iTcKINClPxrDzWi ocCg== 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=9UlqWroKBrwIFAdtaWJQ67J9bUXXgF+bGB0qnMAZY8s=; b=GnnxlhgUE9/Z6YAX3OFQS3AX8Y/M5jcx0blMhOnlyaBxgoqIRTicpPf5e4cnkgVDua fNhS5sk9XurVxzzWqTlC8wNubDK9XH3u8lrxvmtGnIozKmgPPpTQs8D6t3veGzYjy7vK bMWaC9+9gMX7wXGjxWhHz0CBtg/QvvPIvUCXgkVvgkA+svhC3IDyw9KD//ysFEKucM67 vMExpfvQn+5W2Im3NgYDtLfj8C04J0KiJVjhd9U7x63wbYvwfJ6OCEe0q9A63w1mHjQq 1kelKrQ0b+/krYdmJ0aYCuXQnzO/+YTL5iHDzZUw1PL05kOL0SzVVSIKrh4QpdW++njo zoXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=i80R34Xw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id l192-20020a6391c9000000b003fd87529fcesi7313635pge.642.2022.06.06.03.32.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 03:32:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=i80R34Xw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EFFDF181472; Mon, 6 Jun 2022 03:11:43 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233748AbiFFKJj (ORCPT + 99 others); Mon, 6 Jun 2022 06:09:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233554AbiFFKGe (ORCPT ); Mon, 6 Jun 2022 06:06:34 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 625FE144786; Mon, 6 Jun 2022 03:06:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654509989; x=1686045989; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=nkqgtQAboZnM/AAFg9v2/5Z9Uxqx4JM1lubOKwYAy7M=; b=i80R34XwgvxyfzxgBQTku+Ba0lnu1S+6XBt8i08ZEyucHIKBN8+AY3z2 MhzKmzfKbvCGlxhjE4YyyBEukbJ17r2qnTfn7UGMq9n7M1RHZ3VnAlkZM AFPX4CHvps6a11RbsWs8T7i73A44KjxDbiy/Ahr7pgUi7F0VSv8STYdzT DiuAkgp/+MjwryMZm+hkYOQACBXri5ZCESYOH+lzLgG6HjMygoWqZe9wN euDF6X7OqUTMYV7X9LsHa25dM7xc7qJjv/SJLfKHw9ySitlfzGLruruKr KucFwOJ8QoNk9WOu4IErfYZrBDvMh2TqdOEFRVW1q0G37VvXEs2PS8nBa w==; X-IronPort-AV: E=McAfee;i="6400,9594,10369"; a="362987093" X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="362987093" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2022 03:06:29 -0700 X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="635523908" Received: from amkossek-mobl1.ger.corp.intel.com (HELO ijarvine-MOBL2.ger.corp.intel.com) ([10.252.57.11]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jun 2022 03:06:27 -0700 From: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= To: linux-serial@vger.kernel.org, Greg KH , Jiri Slaby , linux-kernel@vger.kernel.org Cc: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= Subject: [PATCH 33/36] serial: 8250_exar: Remove serial_rs485 assignment Date: Mon, 6 Jun 2022 13:04:30 +0300 Message-Id: <20220606100433.13793-34-ilpo.jarvinen@linux.intel.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220606100433.13793-1-ilpo.jarvinen@linux.intel.com> References: <20220606100433.13793-1-ilpo.jarvinen@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Serial core handles serial_rs485 assignment. Signed-off-by: Ilpo Järvinen --- drivers/tty/serial/8250/8250_exar.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/tty/serial/8250/8250_exar.c b/drivers/tty/serial/8250/8250_exar.c index 11916f603a3d..528779b40049 100644 --- a/drivers/tty/serial/8250/8250_exar.c +++ b/drivers/tty/serial/8250/8250_exar.c @@ -427,8 +427,6 @@ static int generic_rs485_config(struct uart_port *port, if (is_rs485) writeb(UART_EXAR_RS485_DLY(4), p + UART_MSR); - port->rs485 = *rs485; - return 0; } -- 2.30.2