Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1727470rdh; Tue, 26 Sep 2023 01:23:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGUM11KLTvvxeFX3JKmryGdCfCbxK6lWuf91Ull1YPhogkBfzghg/kEyADUTTbHmOxLlw6N X-Received: by 2002:a05:6870:290:b0:1be:f7d8:e7a2 with SMTP id q16-20020a056870029000b001bef7d8e7a2mr10917707oaf.21.1695716602807; Tue, 26 Sep 2023 01:23:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695716602; cv=none; d=google.com; s=arc-20160816; b=xN+s210tg420ZtqATZYvlZgg+2hGbAGF5iA7dgdGo5f9fxhUIBxChMsWY08HCW1kNQ s0Bof5LtSA6Lj8Z8m44XlUMyh7bxsmbX3xtHtEowrWwh5usP7qkcx6YyEgp6m8f4pIIs ixVcp34YwJzP3CJsTzf6V0G2af8Oy+3uFRHjy17UKVwB+tgxu7dMamBs3dlQT+6Gsq9J 2X0AuZTsjBIoZfCxs2veIi4//gYieHL50AOIlj6DgYfJCXmHmK+Zo6oXobHgbDfxDtXn idgvbbvyjd2UTpj/6m0kNH9xqPFFpjtJCCUUVihBHsQ9nVrqm+chw5M3cSaEyTKXrqgP w2+A== 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:to:from :dkim-signature; bh=jR6oBwo8xHUFjKCZeq6FzEzxdF6JjnGjlT8gQqolBi8=; fh=6ne5PYsUndaVo3O8h6/bKF93b8ZMgpw+0UfKknNxXHs=; b=BuyML0/N849x8TKL427j1bbkdsps7sOimSbjXKbaJPCR2I4IAgr3SjIiJhq7GoOuhj 4VjIdhe3ziFhDrHTIub6S3ndYYQ3CdhHi0xXu70LZ1MEJrIijuVz79XgMCSaZGjXqj4X bjYj4/exgGVEDmvNZ+vaE1d+gM3f4e7iKwgLk0xiSi6Evj5rETlIu+S1UADZ0Q8YEBc/ f/bRHrFzMG3jqUfSPDaudTB2Y5pSrRq4O69CwqPut5Hv6c+ZV+YLOcURcSO/0jQoXOZY h7n7qWmd8dibNq6Dt6DTLWVWTz0sbLs6bwVuvp/B5Uz7RUGtq+6LLm/O/PdekB8nG1ri X0aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WTZoA1A8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id bk13-20020a056a02028d00b005777bea0b5esi1496376pgb.901.2023.09.26.01.23.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 01:23:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WTZoA1A8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 1860280BBC79; Tue, 26 Sep 2023 01:14:04 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233908AbjIZIOF (ORCPT + 99 others); Tue, 26 Sep 2023 04:14:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231398AbjIZIOA (ORCPT ); Tue, 26 Sep 2023 04:14:00 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B92A6101 for ; Tue, 26 Sep 2023 01:13:54 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87DD9C433C8; Tue, 26 Sep 2023 08:13:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695716034; bh=pKML1Q84Z5SEjVT09kSvwqPgs9xlFPfVVJN4cdzzSiI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WTZoA1A8l5GpeHggQBfByHd8MQSCG+dENDaAe1zxWoBY1epfBYB/7vbP7rzTPeYOD EC83++RQYMu2YtgMQJIJ4FlscHLj/Pnx+KBJY7ZU1hYTYZQskF6W1xUE6jddFG2sil RjdI/NBF7VfPZKF+DF5kAAYwImHD7Cp3BWh56L2eg3ial5iARtjJCojyVxWf+2pgOC VMC8tf3O9rncz8iS4uUb2PorvgNYXjFi04o0iwlGENge74rpp9Yb+sNlRLj2ngYXLg nROBqpk5n9J7/Z1XMUmzjfgbKA1idMdZaSLB5DlKyjCDcNC09aaUBSjGHWlIZkOHVX wnLlzppIhj9kw== From: Oded Gabbay To: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/9] accel/habanalabs/gaudi: remove unused structure definition Date: Tue, 26 Sep 2023 11:13:40 +0300 Message-Id: <20230926081345.240927-4-ogabbay@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230926081345.240927-1-ogabbay@kernel.org> References: <20230926081345.240927-1-ogabbay@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 26 Sep 2023 01:14:04 -0700 (PDT) struct gaudi_nic_status is not used anywhere in the code. Signed-off-by: Oded Gabbay --- .../habanalabs/include/gaudi/gaudi_fw_if.h | 32 ------------------- 1 file changed, 32 deletions(-) diff --git a/drivers/accel/habanalabs/include/gaudi/gaudi_fw_if.h b/drivers/accel/habanalabs/include/gaudi/gaudi_fw_if.h index 2dba02757d37..a2547f306750 100644 --- a/drivers/accel/habanalabs/include/gaudi/gaudi_fw_if.h +++ b/drivers/accel/habanalabs/include/gaudi/gaudi_fw_if.h @@ -44,38 +44,6 @@ struct eq_nic_sei_event { __u8 pad[6]; }; -/* - * struct gaudi_nic_status - describes the status of a NIC port. - * @port: NIC port index. - * @bad_format_cnt: e.g. CRC. - * @responder_out_of_sequence_psn_cnt: e.g NAK. - * @high_ber_reinit_cnt: link reinit due to high BER. - * @correctable_err_cnt: e.g. bit-flip. - * @uncorrectable_err_cnt: e.g. MAC errors. - * @retraining_cnt: re-training counter. - * @up: is port up. - * @pcs_link: has PCS link. - * @phy_ready: is PHY ready. - * @auto_neg: is Autoneg enabled. - * @timeout_retransmission_cnt: timeout retransmission events - * @high_ber_cnt: high ber events - */ -struct gaudi_nic_status { - __u32 port; - __u32 bad_format_cnt; - __u32 responder_out_of_sequence_psn_cnt; - __u32 high_ber_reinit; - __u32 correctable_err_cnt; - __u32 uncorrectable_err_cnt; - __u32 retraining_cnt; - __u8 up; - __u8 pcs_link; - __u8 phy_ready; - __u8 auto_neg; - __u32 timeout_retransmission_cnt; - __u32 high_ber_cnt; -}; - struct gaudi_cold_rst_data { union { struct { -- 2.34.1