Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp283072rdf; Tue, 21 Nov 2023 02:38:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IFuCKDHDQkEzhh//kdxvpdBZtPNE/eDgd9M/fI+FJAisKUng/E67wQHx5YnFxHvAh6G8ffK X-Received: by 2002:a05:6830:1519:b0:6b9:c49f:1af7 with SMTP id k25-20020a056830151900b006b9c49f1af7mr8674926otp.20.1700563080745; Tue, 21 Nov 2023 02:38:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700563080; cv=none; d=google.com; s=arc-20160816; b=VGXulL3TCH+49/FedL5sBvFN4OWwm1TISOoV7eIRNgXihWY1zu/Cs6zoF1l3EDG/Pv MUBwfHro3dTUxm8N2suc3JREcsFHCTtmhHY92cfcdRmFTeZVJM7+vvfZTgJxhUOvVZl9 KhSGetPc4H3rOOfMixA8y5WhKE1tmmZe4lEEv2o3Akk+JAfvfHfCq4JlvwYv7ACLVTmX w2CNokc2/EUJftnEVonumXq2B391jNvV9TWMvrBrYZMpXnwCEo7+SySp1mZBDw1st72/ +/BKY1WNgQ+Bt8wAhJjo5kFDzpN+xzOX9qnKVi5WFcm47BsCJxRQ6CBzONJZJXFORduq UjCA== 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=7PkPDgEsFJjchHA15OEjTvzzGqXZGZvOZ36UZ0Mq+ws=; fh=1YNwm5KBWetjB3qGkhgLqh/dZnCTsWuqRk83JW6hjgE=; b=UiSnIVKZbwVOCRRzNBxfh0808jLfvCsB/YtNMYfc2GmJBt4K2H/hrHswB0/8CsUscx 6vwa3N3AQcLhJn7LfkaGUKULJGZ6QtpWWNZWUcCbum39p1f2jP/YHJucTwERvrFAI4Sp dMF18Q7WUyfWay/CcyRVVnQK1FHBffYn1qNrSz9777K34P5SzU/u/pW7jEgqkWbFxf0j RwKDExzrichss9wVC784jxQUrQ0w8zz7d/jt2ex9LG/1qCrcE66kVRVc6lI+doJ53ylx qypXCn2Gbt1lTvrlyLLtVshEwO5ns4Yk23fMTBMJK4sxjY+pg9uK5Q/iT8abdT58Vy2b WmRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jL1qGK4L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id s66-20020a635e45000000b005b11e5a69fdsi10369265pgb.508.2023.11.21.02.38.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 02:38:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jL1qGK4L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id AD0098044384; Tue, 21 Nov 2023 02:37:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232965AbjKUKg6 (ORCPT + 99 others); Tue, 21 Nov 2023 05:36:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233829AbjKUKgo (ORCPT ); Tue, 21 Nov 2023 05:36:44 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E1D9D47 for ; Tue, 21 Nov 2023 02:36:39 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3C6AC433C7; Tue, 21 Nov 2023 10:36:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700562998; bh=gYNUG4npFwZVxiI0KAeDKVJO+CZmchirHrnJPjLRzrg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jL1qGK4L9thFFk/ZGqToKc4xbLb3qHBFTkNCUOSyhwIqdJgLb5SvApx1McOqjqYvY g0ZOaFMWTTczCN+tmQKQP6IV/yhzYFz7NhCl1MbgpUhDrKn3TY0akHXirl261UHQIS Jo1A87sobcOZLNI3+BXQkdco2DpqP31YCUreoRWsOcVsqHw0ESIX7HbIctVAYNwBAL cqC9qAGO2GjfmZdy8EylmCQ7jVzUidC/ygAmDA7xTbOf8nClHVOkf91lFrdcSE5pWh FJBPqDCfyJ/TmHmuV7nxlmZv7XLmfa3Mz2Oykwnaaae49HyDcpein9lPvv4tETyomr R8JsHFKpaAQHg== From: "Jiri Slaby (SUSE)" To: gregkh@linuxfoundation.org Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" Subject: [PATCH 4/6] tty: jsm: remove unused struct jsm_board members Date: Tue, 21 Nov 2023 11:36:24 +0100 Message-ID: <20231121103626.17772-5-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 groat.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 (groat.vger.email [0.0.0.0]); Tue, 21 Nov 2023 02:37:58 -0800 (PST) clang-struct [1] found jsm_board::type and ::jsm_board_entry unused. ::jsm_board_entry is unused since 614a7d6a76b7 ("fix up newly added jsm driver") ::type was never used as far as I can tell. Even when the driver was introduced in the pre-git era. Remove them both. [1] https://github.com/jirislaby/clang-struct Signed-off-by: Jiri Slaby (SUSE) --- drivers/tty/serial/jsm/jsm.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/tty/serial/jsm/jsm.h b/drivers/tty/serial/jsm/jsm.h index 08a42f045ec8..df55e5dc5afc 100644 --- a/drivers/tty/serial/jsm/jsm.h +++ b/drivers/tty/serial/jsm/jsm.h @@ -125,7 +125,6 @@ struct jsm_board { int boardnum; /* Board number: 0-32 */ - int type; /* Type of board */ u8 rev; /* PCI revision ID */ struct pci_dev *pci_dev; u32 maxports; /* MAX ports this board can handle */ @@ -153,8 +152,6 @@ struct jsm_board u32 bd_dividend; /* Board/UARTs specific dividend */ struct board_ops *bd_ops; - - struct list_head jsm_board_entry; }; /************************************************************************ -- 2.42.1