mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
net: hisilicon: hns: Remove unused enums
The enums dsaf_roce_port_mode, dsaf_roce_port_num and dsaf_roce_qos_sl are unused after the removal of the reset code. Remove them. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Reviewed-by: Jijie Shao<shaojijie@huawei.com> Link: https://patch.msgid.link/20241218163341.40297-5-linux@treblig.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
0198b459f5
commit
8973ce1893
1 changed files with 0 additions and 23 deletions
|
@ -42,29 +42,6 @@ struct hns_mac_cb;
|
|||
|
||||
#define HNS_MAX_WAIT_CNT 10000
|
||||
|
||||
enum dsaf_roce_port_mode {
|
||||
DSAF_ROCE_6PORT_MODE,
|
||||
DSAF_ROCE_4PORT_MODE,
|
||||
DSAF_ROCE_2PORT_MODE,
|
||||
DSAF_ROCE_CHAN_MODE_NUM,
|
||||
};
|
||||
|
||||
enum dsaf_roce_port_num {
|
||||
DSAF_ROCE_PORT_0,
|
||||
DSAF_ROCE_PORT_1,
|
||||
DSAF_ROCE_PORT_2,
|
||||
DSAF_ROCE_PORT_3,
|
||||
DSAF_ROCE_PORT_4,
|
||||
DSAF_ROCE_PORT_5,
|
||||
};
|
||||
|
||||
enum dsaf_roce_qos_sl {
|
||||
DSAF_ROCE_SL_0,
|
||||
DSAF_ROCE_SL_1,
|
||||
DSAF_ROCE_SL_2,
|
||||
DSAF_ROCE_SL_3,
|
||||
};
|
||||
|
||||
#define DSAF_STATS_READ(p, offset) (*((u64 *)((u8 *)(p) + (offset))))
|
||||
#define HNS_DSAF_IS_DEBUG(dev) ((dev)->dsaf_mode == DSAF_MODE_DISABLE_SP)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue