diff options
Diffstat (limited to 'drivers/net/vxge/vxge-config.c')
-rw-r--r-- | drivers/net/vxge/vxge-config.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/vxge/vxge-config.c b/drivers/net/vxge/vxge-config.c index 58d2551c78ed..9e94c4b0fb18 100644 --- a/drivers/net/vxge/vxge-config.c +++ b/drivers/net/vxge/vxge-config.c | |||
@@ -313,14 +313,6 @@ __vxge_hw_device_reg_addr_get(struct __vxge_hw_device *hldev) | |||
313 | hldev->kdfc = (u8 __iomem *)(hldev->bar0 + | 313 | hldev->kdfc = (u8 __iomem *)(hldev->bar0 + |
314 | VXGE_HW_TOC_GET_KDFC_INITIAL_OFFSET(val64)); | 314 | VXGE_HW_TOC_GET_KDFC_INITIAL_OFFSET(val64)); |
315 | break; | 315 | break; |
316 | case 2: | ||
317 | hldev->kdfc = (u8 __iomem *)(hldev->bar1 + | ||
318 | VXGE_HW_TOC_GET_KDFC_INITIAL_OFFSET(val64)); | ||
319 | break; | ||
320 | case 4: | ||
321 | hldev->kdfc = (u8 __iomem *)(hldev->bar2 + | ||
322 | VXGE_HW_TOC_GET_KDFC_INITIAL_OFFSET(val64)); | ||
323 | break; | ||
324 | default: | 316 | default: |
325 | break; | 317 | break; |
326 | } | 318 | } |
@@ -831,8 +823,6 @@ vxge_hw_device_initialize( | |||
831 | sizeof(struct vxge_hw_device_config)); | 823 | sizeof(struct vxge_hw_device_config)); |
832 | 824 | ||
833 | hldev->bar0 = attr->bar0; | 825 | hldev->bar0 = attr->bar0; |
834 | hldev->bar1 = attr->bar1; | ||
835 | hldev->bar2 = attr->bar2; | ||
836 | hldev->pdev = attr->pdev; | 826 | hldev->pdev = attr->pdev; |
837 | 827 | ||
838 | hldev->uld_callbacks.link_up = attr->uld_callbacks.link_up; | 828 | hldev->uld_callbacks.link_up = attr->uld_callbacks.link_up; |