提交 27bf96e3 编写于 作者: S Sudarsana Reddy Kalluru 提交者: David S. Miller

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: NSudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: NAriel Elior <ariel.elior@cavium.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 0bc5fe85
...@@ -264,8 +264,6 @@ int qed_fill_dev_info(struct qed_dev *cdev, ...@@ -264,8 +264,6 @@ int qed_fill_dev_info(struct qed_dev *cdev,
dev_info->pci_mem_end = cdev->pci_params.mem_end; dev_info->pci_mem_end = cdev->pci_params.mem_end;
dev_info->pci_irq = cdev->pci_params.irq; dev_info->pci_irq = cdev->pci_params.irq;
dev_info->rdma_supported = QED_IS_RDMA_PERSONALITY(p_hwfn); dev_info->rdma_supported = QED_IS_RDMA_PERSONALITY(p_hwfn);
dev_info->is_mf_default = !test_bit(QED_MF_LLH_MAC_CLSS,
&cdev->mf_bits);
dev_info->dev_type = cdev->type; dev_info->dev_type = cdev->type;
ether_addr_copy(dev_info->hw_mac, hw_info->hw_mac_addr); ether_addr_copy(dev_info->hw_mac, hw_info->hw_mac_addr);
......
...@@ -339,7 +339,6 @@ struct qed_dev_info { ...@@ -339,7 +339,6 @@ struct qed_dev_info {
u8 num_hwfns; u8 num_hwfns;
u8 hw_mac[ETH_ALEN]; u8 hw_mac[ETH_ALEN];
bool is_mf_default;
/* FW version */ /* FW version */
u16 fw_major; u16 fw_major;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册