Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp283045rdf; Tue, 21 Nov 2023 02:37:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IEtxq1bx2fzBaVyfTb9hcFT416/CjflISTLKoCxt4OMEst4juyVOlvDhvtqqat1sPPURDCf X-Received: by 2002:a17:902:8f93:b0:1ca:72f9:253a with SMTP id z19-20020a1709028f9300b001ca72f9253amr9519389plo.23.1700563075397; Tue, 21 Nov 2023 02:37:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700563075; cv=none; d=google.com; s=arc-20160816; b=sigfcBJpHq0MDG86xLqUq5uofSWWFxKGEoPPeyHJw0Fmyj1Ce3dDVgjOHsNas5873C H7H1EAt7hRSIUvhczgBpcNKxjvbcQZAkJ0sQlu+yFfwRdg41MTPJ94yK/+mB9Fe601X0 jexneq5UL2jI2K5driLKsAm9nD/2Z+t/YPBSHOANlbn8FqU9u2SNU8W25yAk7kK7P3z5 VpcO1S0P+6SO6QJ+PaOJpzJzIVl7rR8aWlrFQYBPCZ7MR2bIuMG/mfG0Hk0WeuTybkps a64d7jiBbTyxRHIG6+MhR5hhZ+v/0J+DmSeBMJD6aPpOu8AVxnAKZaFxd2ukD46Ey2tR xkRg== 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=1/YV1iody1yK1KA1uAHAVFEpQRIESWSbBr7s+FVMHx8=; fh=1YNwm5KBWetjB3qGkhgLqh/dZnCTsWuqRk83JW6hjgE=; b=TciYDXdTQDfwVEIg3GvjDIcSrSelTlUY27VL1/A8nlgodH91snrP8yXAK6DQGuUC+Z Folz12XlJLctd+3yvTS+dRzgHgW9LSiX1h6ORM6ezLUaTfR0A00bW5nEchAGGlz1sNwH C4dlky/IgLh+l3jsRmN9WMgP9uUBC6qdH9UcyECShB1QCoGZN/+D31Ep+RMtSEHSNxVL zdxYNGpaGYAEVFcxk1TC/hYtaFto3B58j1ttkxTklGArZ4ZTNM2VKmNz2WKDRmLUNvML MFju3qgldsC+QSInG62+D0jFc/oFNSYhc80/eDHP9FixKZcy80hL/VD8Poy+csew4R2o PvzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="DJS2/TLH"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id bj12-20020a170902850c00b001cc18133022si9521687plb.285.2023.11.21.02.37.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 02:37:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="DJS2/TLH"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 067208029567; Tue, 21 Nov 2023 02:37:53 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233951AbjKUKhF (ORCPT + 99 others); Tue, 21 Nov 2023 05:37:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233817AbjKUKgr (ORCPT ); Tue, 21 Nov 2023 05:36:47 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A34F18C for ; Tue, 21 Nov 2023 02:36:42 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF5FEC433C7; Tue, 21 Nov 2023 10:36:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700563002; bh=ZUbsMm06fEd3nF1lhwAHhD7S+m2Uiy8kDq+uaKpBn3o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DJS2/TLHg6Kc6CyARmWS+Z7QYMmd2Rx11qBg83meZSGR0y4cUwo3RvTZ0oX8WedYS 4zy5ksaJWE73HiL/d6Ig+JtZJ2t6G5tXuJcIoR5Re2O1NAqPe4XfP4h59EiU5I++Xj 4ImSAzcq2ucVD6OeHSAASpOVnsH0i+PP13ApE+691H+lgrUfZ/kxQWBepxWU+lRV9L /bouSem61tHv6tiUZ7//5f7/2fExefTtU0s7cmbE7LTwI8s1OGSeEie0QR/wphEv2o qaqPIk5exwAYZzuV9Q0Kyro0FbtTE2c/ZxMaX03CAAkvePf2t5QIyfn/Bn2iZHonMy FaOscFZQbSyLA== From: "Jiri Slaby (SUSE)" To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" Subject: [PATCH 6/6] tty: serial_cs: remove unused struct serial_cfg_mem Date: Tue, 21 Nov 2023 11:36:26 +0100 Message-ID: <20231121103626.17772-7-jirislaby@kernel.org> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20231121103626.17772-1-jirislaby@kernel.org> References: <20231121103626.17772-1-jirislaby@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,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 lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 21 Nov 2023 02:37:53 -0800 (PST) clang-struct [1] found struct serial_cfg_mem's members unused. In fact, the whole structure is unused since commit 6ae3b84d9793 ("serial_cs: use pcmcia_loop_config() and pre-determined values"). Drop it completely. [1] https://github.com/jirislaby/clang-struct Signed-off-by: Jiri Slaby (SUSE) --- drivers/tty/serial/8250/serial_cs.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/tty/serial/8250/serial_cs.c b/drivers/tty/serial/8250/serial_cs.c index dc2ef05a10eb..2056aed46688 100644 --- a/drivers/tty/serial/8250/serial_cs.c +++ b/drivers/tty/serial/8250/serial_cs.c @@ -90,12 +90,6 @@ struct serial_info { const struct serial_quirk *quirk; }; -struct serial_cfg_mem { - tuple_t tuple; - cisparse_t parse; - u_char buf[256]; -}; - /* * vers_1 5.0, "Brain Boxes", "2-Port RS232 card", "r6" * manfid 0x0160, 0x0104 -- 2.42.1