Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp286443iof; Mon, 6 Jun 2022 03:33:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzckjYWp/ZOlEg43PoAvt2wF+4JPkEJ6dFK7HaGIycQ6E77V/J7lmoA4cqn0dSKDjp7s5+l X-Received: by 2002:a63:8241:0:b0:3fc:aa22:7f3e with SMTP id w62-20020a638241000000b003fcaa227f3emr21138089pgd.2.1654511607222; Mon, 06 Jun 2022 03:33:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654511607; cv=none; d=google.com; s=arc-20160816; b=uSPs/zZkkdWNCKUL9WzfYn3/j3Px7GU+GxwVRS/3e/FAiJ/41YZAwu0Tk20Sg6EiTB G4qBAk+w00m60T7v1JNYPObrq1wN2sAhvQANeLSfe1gV19CcMB0q+P/cMxfvL82jUfQ6 jMvEL/0WKYpdKlUpkE5VEsv/cO17MjlnN5eZEE1CLQaD7Eaw5WnL2rVb8JyrakvpvbFu LI+Ms/p/wN1b8e79O7aNW3QhnZtvrbXtynRQ1HvL/weNeGEdspTvm99jVe8IH+RY3ypi gVZs+uFqbCvpxjM4jQ+AdBcsqHORSdtbdQW8eWkK2WinB1mY3CHTrTAUKkjgexqHkPtL 47pg== 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=WJ9wtquohG2O167H7LAutuXl7/WDG8XcEg1c+XvdmUY=; b=g/ujVvl5xD851jMrKjAPd/Pxd7GjDjXGKUTBqEu0iF18U7m/fC0QiswnPB+Ku/1Dir R4CFC98CQQ5HhyQO7578x04r1K02N0U0UGrHFDD6ZJuE5GXUuRtxuClJFp5eMUGfd2HQ kbVkroapx3SNZbPlnd8QZOxoAz8KnJLGxKwCpZLvrt1xitqTyx5mUMu4jJnjIXuvwzDH a6FPOo7HSfyWQuCAKGTIsJDQMvkS3vZ5LeFfvWU8W1DOlbG4/0tJB1jMZq2MY8dsVeBk +z2dB8FSpg9LZ+aco9Um5P4clWmmNrnO5P3+GCFD1fwJRgp3k6ReBx5wNEYXW17j+2e0 K4Sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QGIhEVFg; 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 d8-20020a170902b70800b00158f13b4872si18561612pls.7.2022.06.06.03.33.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 03:33:27 -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=QGIhEVFg; 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 C309C26ACB; Mon, 6 Jun 2022 03:12:29 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233454AbiFFKJu (ORCPT + 99 others); Mon, 6 Jun 2022 06:09:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233572AbiFFKGh (ORCPT ); Mon, 6 Jun 2022 06:06:37 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B5AE144FC7; Mon, 6 Jun 2022 03:06:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654509992; x=1686045992; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=oll5KaEkDpEpL5et566YY0PuRsrie8otuYYJ8R196ro=; b=QGIhEVFgkBXsxjRSBVk4PB1KuCJn6rrEfXH3rDAUde8dCZ7niZzZQIO5 if5nPpvC9DHlNp6ShudiXunKabH2z69vDUiykp8Il7qlSrle/e1ru4YqO qOJkbQl0stO7mNaEsQmRtzstq7mPaU0j48/ecNeRCiH6HCumbRVx04JL8 EK999bmNLwP1xejBMiQhrJmoAXeXw5bvK95bY+/N5t7EJSKi3anRG4oSf G/W8hDS+v6AbM5vZ2DhMivfzuLHA1h9qhYcaLwQJEAGBonRIVc44yDg3h 9qemJimvSJ+Oa4UfvbC2Eo9Tg5I9Nqgw8svgguGw1w//ACWx+K32PlYy2 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10369"; a="362987095" X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="362987095" 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:31 -0700 X-IronPort-AV: E=Sophos;i="5.91,280,1647327600"; d="scan'208";a="635523918" 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:30 -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 34/36] serial: mcf: Remove serial_rs485 assignment Date: Mon, 6 Jun 2022 13:04:31 +0300 Message-Id: <20220606100433.13793-35-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/mcf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/tty/serial/mcf.c b/drivers/tty/serial/mcf.c index 655255e0c76a..036f178e3d66 100644 --- a/drivers/tty/serial/mcf.c +++ b/drivers/tty/serial/mcf.c @@ -448,7 +448,6 @@ static int mcf_config_rs485(struct uart_port *port, struct serial_rs485 *rs485) } writeb(mr1, port->membase + MCFUART_UMR); writeb(mr2, port->membase + MCFUART_UMR); - port->rs485 = *rs485; return 0; } -- 2.30.2