diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2011-04-18 09:31:20 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-19 02:03:59 -0400 |
commit | 30f554f925335abad89aaa38eec6828242b27527 (patch) | |
tree | 6137d40e51d26cb39ec88fb2fe09ec79f41d44e4 /drivers/net/chelsio/tp.c | |
parent | b437a8cc7de4c9d8d0bdb37e7621c119f7640967 (diff) |
net: chelsio: convert to hw_features
Also remove flags that were not used or are now redundant to hw_features bits.
No device had UDP_CSUM_CAPABLE set.
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/chelsio/tp.c')
-rw-r--r-- | drivers/net/chelsio/tp.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/chelsio/tp.c b/drivers/net/chelsio/tp.c index 6222d585e447..8bed4a59e65f 100644 --- a/drivers/net/chelsio/tp.c +++ b/drivers/net/chelsio/tp.c | |||
@@ -152,11 +152,6 @@ void t1_tp_set_ip_checksum_offload(struct petp *tp, int enable) | |||
152 | set_csum_offload(tp, F_IP_CSUM, enable); | 152 | set_csum_offload(tp, F_IP_CSUM, enable); |
153 | } | 153 | } |
154 | 154 | ||
155 | void t1_tp_set_udp_checksum_offload(struct petp *tp, int enable) | ||
156 | { | ||
157 | set_csum_offload(tp, F_UDP_CSUM, enable); | ||
158 | } | ||
159 | |||
160 | void t1_tp_set_tcp_checksum_offload(struct petp *tp, int enable) | 155 | void t1_tp_set_tcp_checksum_offload(struct petp *tp, int enable) |
161 | { | 156 | { |
162 | set_csum_offload(tp, F_TCP_CSUM, enable); | 157 | set_csum_offload(tp, F_TCP_CSUM, enable); |