From: Oded Gabbay <ogabbay@kernel.org>
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 [thread overview]
Message-ID: <20230926081345.240927-4-ogabbay@kernel.org> (raw)
In-Reply-To: <20230926081345.240927-1-ogabbay@kernel.org>
struct gaudi_nic_status is not used anywhere in the code.
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
---
.../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
next prev parent reply other threads:[~2023-09-26 8:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-26 8:13 [PATCH 1/9] accel/habanalabs: minor cosmetics update to cpucp_if.h Oded Gabbay
2023-09-26 8:13 ` [PATCH 2/9] accel/habanalabs: minor cosmetics update to trace file Oded Gabbay
2023-09-26 8:13 ` [PATCH 3/9] accel/habanalabs: change Greco to Gaudi2 Oded Gabbay
2023-09-26 8:13 ` Oded Gabbay [this message]
2023-09-26 8:13 ` [PATCH 5/9] accel/habanalabs: remove unused field Oded Gabbay
2023-09-26 8:13 ` [PATCH 6/9] accel/habanalabs: print device name when it is removed Oded Gabbay
2023-09-26 8:13 ` [PATCH 7/9] accel/habanalabs: remove leftover code Oded Gabbay
2023-09-26 8:13 ` [PATCH 8/9] accel/habanalabs/gaudi: remove define used for simulator Oded Gabbay
2023-09-26 8:13 ` [PATCH 9/9] accel/habanalabs: minor cosmetic update to habanalabs.h Oded Gabbay
2023-10-01 9:13 ` [PATCH 1/9] accel/habanalabs: minor cosmetics update to cpucp_if.h Ofir Bitton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230926081345.240927-4-ogabbay@kernel.org \
--to=ogabbay@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox