]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
qed: Remove unused data member 'is_mf_default'.
authorSudarsana Reddy Kalluru <sudarsana.kalluru@cavium.com>
Sun, 6 May 2018 01:43:00 +0000 (18:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 May 2018 03:46:10 +0000 (23:46 -0400)
The data member 'is_mf_default' is not used by the qed/qede drivers,
removing the same.

Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_main.c
include/linux/qed/qed_if.h

index 307fe33d75c8fd6883cb8ecb448454d49a8ba2e0..70bc5634675cc19968f097d5af5b50f5919084c2 100644 (file)
@@ -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_irq = cdev->pci_params.irq;
        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;
        ether_addr_copy(dev_info->hw_mac, hw_info->hw_mac_addr);
 
index 5dac56147a07743503eaa45f970a1d488a9eebea..907976fd56f7dedb7795b0a48adef5d184977c7e 100644 (file)
@@ -339,7 +339,6 @@ struct qed_dev_info {
        u8              num_hwfns;
 
        u8              hw_mac[ETH_ALEN];
-       bool            is_mf_default;
 
        /* FW version */
        u16             fw_major;