diff options
author | Vasanthy Kolluri <vkolluri@cisco.com> | 2010-09-30 09:35:34 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-01 03:36:52 -0400 |
commit | bf746e62afc83be1baccc0cc9e128a9805ecd5fd (patch) | |
tree | a092aaecb4b0d95012a9300296c5664384c00ddb /drivers/net/enic/vnic_dev.h | |
parent | 367e5e376922dcf52f92e1db436010fb828d3bfa (diff) |
enic: Remove dead code
Removed code that is unused
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Vasanthy Kolluri <vkolluri@cisco.com>
Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: David Wang <dwang2@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/enic/vnic_dev.h')
-rw-r--r-- | drivers/net/enic/vnic_dev.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/net/enic/vnic_dev.h b/drivers/net/enic/vnic_dev.h index 3a61873138b6..008304b966a4 100644 --- a/drivers/net/enic/vnic_dev.h +++ b/drivers/net/enic/vnic_dev.h | |||
@@ -84,8 +84,6 @@ unsigned int vnic_dev_get_res_count(struct vnic_dev *vdev, | |||
84 | enum vnic_res_type type); | 84 | enum vnic_res_type type); |
85 | void __iomem *vnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type, | 85 | void __iomem *vnic_dev_get_res(struct vnic_dev *vdev, enum vnic_res_type type, |
86 | unsigned int index); | 86 | unsigned int index); |
87 | dma_addr_t vnic_dev_get_res_bus_addr(struct vnic_dev *vdev, | ||
88 | enum vnic_res_type type, unsigned int index); | ||
89 | unsigned int vnic_dev_desc_ring_size(struct vnic_dev_ring *ring, | 87 | unsigned int vnic_dev_desc_ring_size(struct vnic_dev_ring *ring, |
90 | unsigned int desc_count, unsigned int desc_size); | 88 | unsigned int desc_count, unsigned int desc_size); |
91 | void vnic_dev_clear_desc_ring(struct vnic_dev_ring *ring); | 89 | void vnic_dev_clear_desc_ring(struct vnic_dev_ring *ring); |
@@ -95,25 +93,19 @@ void vnic_dev_free_desc_ring(struct vnic_dev *vdev, | |||
95 | struct vnic_dev_ring *ring); | 93 | struct vnic_dev_ring *ring); |
96 | int vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, | 94 | int vnic_dev_cmd(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, |
97 | u64 *a0, u64 *a1, int wait); | 95 | u64 *a0, u64 *a1, int wait); |
98 | void vnic_dev_cmd_proxy_by_bdf_start(struct vnic_dev *vdev, u16 bdf); | ||
99 | void vnic_dev_cmd_proxy_end(struct vnic_dev *vdev); | ||
100 | int vnic_dev_fw_info(struct vnic_dev *vdev, | 96 | int vnic_dev_fw_info(struct vnic_dev *vdev, |
101 | struct vnic_devcmd_fw_info **fw_info); | 97 | struct vnic_devcmd_fw_info **fw_info); |
102 | int vnic_dev_hw_version(struct vnic_dev *vdev, | 98 | int vnic_dev_hw_version(struct vnic_dev *vdev, |
103 | enum vnic_dev_hw_version *hw_ver); | 99 | enum vnic_dev_hw_version *hw_ver); |
104 | int vnic_dev_spec(struct vnic_dev *vdev, unsigned int offset, unsigned int size, | 100 | int vnic_dev_spec(struct vnic_dev *vdev, unsigned int offset, unsigned int size, |
105 | void *value); | 101 | void *value); |
106 | int vnic_dev_stats_clear(struct vnic_dev *vdev); | ||
107 | int vnic_dev_stats_dump(struct vnic_dev *vdev, struct vnic_stats **stats); | 102 | int vnic_dev_stats_dump(struct vnic_dev *vdev, struct vnic_stats **stats); |
108 | int vnic_dev_hang_notify(struct vnic_dev *vdev); | 103 | int vnic_dev_hang_notify(struct vnic_dev *vdev); |
109 | int vnic_dev_packet_filter(struct vnic_dev *vdev, int directed, int multicast, | 104 | int vnic_dev_packet_filter(struct vnic_dev *vdev, int directed, int multicast, |
110 | int broadcast, int promisc, int allmulti); | 105 | int broadcast, int promisc, int allmulti); |
111 | int vnic_dev_packet_filter_all(struct vnic_dev *vdev, int directed, | ||
112 | int multicast, int broadcast, int promisc, int allmulti); | ||
113 | int vnic_dev_add_addr(struct vnic_dev *vdev, u8 *addr); | 106 | int vnic_dev_add_addr(struct vnic_dev *vdev, u8 *addr); |
114 | int vnic_dev_del_addr(struct vnic_dev *vdev, u8 *addr); | 107 | int vnic_dev_del_addr(struct vnic_dev *vdev, u8 *addr); |
115 | int vnic_dev_mac_addr(struct vnic_dev *vdev, u8 *mac_addr); | 108 | int vnic_dev_mac_addr(struct vnic_dev *vdev, u8 *mac_addr); |
116 | int vnic_dev_raise_intr(struct vnic_dev *vdev, u16 intr); | ||
117 | int vnic_dev_notify_setcmd(struct vnic_dev *vdev, | 109 | int vnic_dev_notify_setcmd(struct vnic_dev *vdev, |
118 | void *notify_addr, dma_addr_t notify_pa, u16 intr); | 110 | void *notify_addr, dma_addr_t notify_pa, u16 intr); |
119 | int vnic_dev_notify_set(struct vnic_dev *vdev, u16 intr); | 111 | int vnic_dev_notify_set(struct vnic_dev *vdev, u16 intr); |
@@ -123,12 +115,8 @@ int vnic_dev_link_status(struct vnic_dev *vdev); | |||
123 | u32 vnic_dev_port_speed(struct vnic_dev *vdev); | 115 | u32 vnic_dev_port_speed(struct vnic_dev *vdev); |
124 | u32 vnic_dev_msg_lvl(struct vnic_dev *vdev); | 116 | u32 vnic_dev_msg_lvl(struct vnic_dev *vdev); |
125 | u32 vnic_dev_mtu(struct vnic_dev *vdev); | 117 | u32 vnic_dev_mtu(struct vnic_dev *vdev); |
126 | u32 vnic_dev_link_down_cnt(struct vnic_dev *vdev); | ||
127 | u32 vnic_dev_notify_status(struct vnic_dev *vdev); | ||
128 | u32 vnic_dev_uif(struct vnic_dev *vdev); | ||
129 | int vnic_dev_close(struct vnic_dev *vdev); | 118 | int vnic_dev_close(struct vnic_dev *vdev); |
130 | int vnic_dev_enable(struct vnic_dev *vdev); | 119 | int vnic_dev_enable(struct vnic_dev *vdev); |
131 | int vnic_dev_enable_wait(struct vnic_dev *vdev); | ||
132 | int vnic_dev_disable(struct vnic_dev *vdev); | 120 | int vnic_dev_disable(struct vnic_dev *vdev); |
133 | int vnic_dev_open(struct vnic_dev *vdev, int arg); | 121 | int vnic_dev_open(struct vnic_dev *vdev, int arg); |
134 | int vnic_dev_open_done(struct vnic_dev *vdev, int *done); | 122 | int vnic_dev_open_done(struct vnic_dev *vdev, int *done); |