Skip to content

Commit b5305d2

Browse files
committed
accel/habanalabs/gaudi: remove unused structure definition
struct gaudi_nic_status is not used anywhere in the code. Signed-off-by: Oded Gabbay <[email protected]> Reviewed-by: Ofir Bitton <[email protected]>
1 parent 26f5b6c commit b5305d2

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

drivers/accel/habanalabs/include/gaudi/gaudi_fw_if.h

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -44,38 +44,6 @@ struct eq_nic_sei_event {
4444
__u8 pad[6];
4545
};
4646

47-
/*
48-
* struct gaudi_nic_status - describes the status of a NIC port.
49-
* @port: NIC port index.
50-
* @bad_format_cnt: e.g. CRC.
51-
* @responder_out_of_sequence_psn_cnt: e.g NAK.
52-
* @high_ber_reinit_cnt: link reinit due to high BER.
53-
* @correctable_err_cnt: e.g. bit-flip.
54-
* @uncorrectable_err_cnt: e.g. MAC errors.
55-
* @retraining_cnt: re-training counter.
56-
* @up: is port up.
57-
* @pcs_link: has PCS link.
58-
* @phy_ready: is PHY ready.
59-
* @auto_neg: is Autoneg enabled.
60-
* @timeout_retransmission_cnt: timeout retransmission events
61-
* @high_ber_cnt: high ber events
62-
*/
63-
struct gaudi_nic_status {
64-
__u32 port;
65-
__u32 bad_format_cnt;
66-
__u32 responder_out_of_sequence_psn_cnt;
67-
__u32 high_ber_reinit;
68-
__u32 correctable_err_cnt;
69-
__u32 uncorrectable_err_cnt;
70-
__u32 retraining_cnt;
71-
__u8 up;
72-
__u8 pcs_link;
73-
__u8 phy_ready;
74-
__u8 auto_neg;
75-
__u32 timeout_retransmission_cnt;
76-
__u32 high_ber_cnt;
77-
};
78-
7947
struct gaudi_cold_rst_data {
8048
union {
8149
struct {

0 commit comments

Comments
 (0)