Skip to content

Commit 27bf96e

Browse files
Sudarsana Reddy Kallurudavem330
authored andcommitted
qed: Remove unused data member 'is_mf_default'.
The data member 'is_mf_default' is not used by the qed/qede drivers, removing the same. Signed-off-by: Sudarsana Reddy Kalluru <[email protected]> Signed-off-by: Ariel Elior <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 0bc5fe8 commit 27bf96e

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

drivers/net/ethernet/qlogic/qed/qed_main.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,6 @@ int qed_fill_dev_info(struct qed_dev *cdev,
264264
dev_info->pci_mem_end = cdev->pci_params.mem_end;
265265
dev_info->pci_irq = cdev->pci_params.irq;
266266
dev_info->rdma_supported = QED_IS_RDMA_PERSONALITY(p_hwfn);
267-
dev_info->is_mf_default = !test_bit(QED_MF_LLH_MAC_CLSS,
268-
&cdev->mf_bits);
269267
dev_info->dev_type = cdev->type;
270268
ether_addr_copy(dev_info->hw_mac, hw_info->hw_mac_addr);
271269

include/linux/qed/qed_if.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,6 @@ struct qed_dev_info {
339339
u8 num_hwfns;
340340

341341
u8 hw_mac[ETH_ALEN];
342-
bool is_mf_default;
343342

344343
/* FW version */
345344
u16 fw_major;

0 commit comments

Comments
 (0)