Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp389375iob; Mon, 2 May 2022 23:51:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOgm4G+RRRdHyqzf1P94su46Ai8BB8vJCOKLrSubaYJLG2OsjqoRfoLcNqQIHOkNs2jrVm X-Received: by 2002:a05:6512:150f:b0:45d:ccac:c43c with SMTP id bq15-20020a056512150f00b0045dccacc43cmr11026274lfb.604.1651560699482; Mon, 02 May 2022 23:51:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651560699; cv=none; d=google.com; s=arc-20160816; b=xnIGV786+3+iP/YbXxHXpmNx/mDSzpoVuwjWe0mDjEdSaVXLLqOuQ0dpl0c+eoJREo NE280IH++0cbc0+1asMZ6tbRtNoSrBFGL+jloUC0TLeYe+0V1x8xafkVO4TFwlAWKvxo Vy4OR8nT+SuJ1+EHqQIo/73UfXt3COQIg9rA1qoufid8VnsTcWNDQ5mcSkKhqpaE3UJu GN8bOr0qb+KexUnD9Cr5gzYABhYF/oYcdklrmhwQ8ztjjMKXGM4FUOXZn14kX+6oR8Ok d8cc3pV5EEhLRvwQXE0lOnRAU8QkFpIpPJ4GA+1PkoCaOZswOOIuTuI01jZsEtZmsDDc TcOw== 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:dkim-signature; bh=K6zhqS+OE857bgyVkpTOjrIk8kxIdlUspbbn6zOUB9c=; b=cKuYb9Y1ooa3bJlcbzBw/PiXZOyDqsxnUnH+/XBvqYgf0e/gMyaV525mQivYB4/j4l itdbn4RKtdbadw6nhGhw7nDNG/mHkUDgTayf4abSUYpEbV0/BVAtl3vsu9mV5KD40mVA xPgWGzaNjQe34QzPuN4BuD8FBtXTCRKa6sQTqfL8m2PyG6q/W9WExnrSnSJe55/70lkp yMmyIai3yK24hBMKAR+g7TOTloIO2fBBPMCw6fScyO9CML1LEFc5FiBx0ApkmD5u/xPB 7nelrwhaVhIbUMs8kzgw0z0YsRnlgDJh6TUMMWiXrCF1IlUummiY/vfPdZyR/aGLkLzu 1Lpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=lBt7Xr8O; dkim=neutral (no key) header.i=@suse.cz; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a056512054b00b00472075dc07asi14588747lfl.134.2022.05.02.23.51.12; Mon, 02 May 2022 23:51:39 -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=@suse.cz header.s=susede2_rsa header.b=lBt7Xr8O; dkim=neutral (no key) header.i=@suse.cz; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229963AbiECGfH (ORCPT + 99 others); Tue, 3 May 2022 02:35:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229877AbiECGe7 (ORCPT ); Tue, 3 May 2022 02:34:59 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0449381A9; Mon, 2 May 2022 23:31:27 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 6BA8C1F749; Tue, 3 May 2022 06:31:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1651559486; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=K6zhqS+OE857bgyVkpTOjrIk8kxIdlUspbbn6zOUB9c=; b=lBt7Xr8O5pCsy0iSq/ngYd38mYHr7xe3NgenR6O7d1kg/tWQ2/hinAlqusRsXz9kSAsEEF RTljGQCe38po09Rx4mCcEjS0rQDfqXmu+Ls/V446ekYLbpuHole9vkemRto917JZ9XeT8n c3QoJh7Q9MCi+DATLOHW/EzqWz6RaLU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1651559486; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=K6zhqS+OE857bgyVkpTOjrIk8kxIdlUspbbn6zOUB9c=; b=DQM1/RFOlE35XhjiIcZihVfiL7BopipiN0lcD1fKGgZf93xpPcgKubyueeVLy5+NgBKY4w Zj1hdQbBWnA2bjBA== Received: from localhost.localdomain (unknown [10.100.208.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 3621B2C143; Tue, 3 May 2022 06:31:26 +0000 (UTC) From: Jiri Slaby To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Jiri Slaby Subject: [PATCH 01/11] serial: pic32: remove unused items from the header Date: Tue, 3 May 2022 08:31:12 +0200 Message-Id: <20220503063122.20957-2-jslaby@suse.cz> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220503063122.20957-1-jslaby@suse.cz> References: <20220503063122.20957-1-jslaby@suse.cz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 struct pic32_console_opt and its support are unused in pic32. So remove all that. Signed-off-by: Jiri Slaby --- drivers/tty/serial/pic32_uart.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/tty/serial/pic32_uart.h b/drivers/tty/serial/pic32_uart.h index b15639cc336b..a7dba1d57236 100644 --- a/drivers/tty/serial/pic32_uart.h +++ b/drivers/tty/serial/pic32_uart.h @@ -20,13 +20,6 @@ #define PIC32_UART_RX 0x30 #define PIC32_UART_BRG 0x40 -struct pic32_console_opt { - int baud; - int parity; - int bits; - int flow; -}; - /* struct pic32_sport - pic32 serial port descriptor * @port: uart port descriptor * @idx: port index @@ -44,7 +37,6 @@ struct pic32_console_opt { **/ struct pic32_sport { struct uart_port port; - struct pic32_console_opt opt; int idx; int irq_fault; @@ -68,7 +60,6 @@ struct pic32_sport { }; #define to_pic32_sport(c) container_of(c, struct pic32_sport, port) #define pic32_get_port(sport) (&sport->port) -#define pic32_get_opt(sport) (&sport->opt) #define tx_irq_enabled(sport) (sport->enable_tx_irq) static inline void pic32_uart_writel(struct pic32_sport *sport, -- 2.36.0