mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 11:44:01 +08:00
net: hns3: remove some unused members of some structures
Some members in struct hns3_enet_tqp_vector, struct hnae3_client and struct hnae3_ae_algo are unused. This patch removes them. Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f6762f3852
commit
a9fc79b681
@ -167,7 +167,6 @@ struct hnae3_client_ops {
|
||||
#define HNAE3_CLIENT_NAME_LENGTH 16
|
||||
struct hnae3_client {
|
||||
char name[HNAE3_CLIENT_NAME_LENGTH];
|
||||
u16 version;
|
||||
unsigned long state;
|
||||
enum hnae3_client_type type;
|
||||
const struct hnae3_client_ops *ops;
|
||||
@ -436,7 +435,6 @@ struct hnae3_dcb_ops {
|
||||
struct hnae3_ae_algo {
|
||||
const struct hnae3_ae_ops *ops;
|
||||
struct list_head node;
|
||||
char name[HNAE3_CLASS_NAME_SIZE];
|
||||
const struct pci_device_id *pdev_id_table;
|
||||
};
|
||||
|
||||
|
@ -499,7 +499,6 @@ struct hns3_enet_tqp_vector {
|
||||
|
||||
u16 num_tqps; /* total number of tqps in TQP vector */
|
||||
|
||||
cpumask_t affinity_mask;
|
||||
char name[HNAE3_INT_NAME_LEN];
|
||||
|
||||
/* when 0 should adjust interrupt coalesce parameter */
|
||||
|
@ -6287,7 +6287,6 @@ static const struct hnae3_ae_ops hclge_ops = {
|
||||
|
||||
static struct hnae3_ae_algo ae_algo = {
|
||||
.ops = &hclge_ops,
|
||||
.name = HCLGE_NAME,
|
||||
.pdev_id_table = ae_algo_pci_tbl,
|
||||
};
|
||||
|
||||
|
@ -1959,7 +1959,6 @@ static const struct hnae3_ae_ops hclgevf_ops = {
|
||||
|
||||
static struct hnae3_ae_algo ae_algovf = {
|
||||
.ops = &hclgevf_ops,
|
||||
.name = HCLGEVF_NAME,
|
||||
.pdev_id_table = ae_algovf_pci_tbl,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user