summaryrefslogtreecommitdiff
path: root/drivers/net/chelsio/tp.c
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2011-04-18 13:31:20 +0000
committerDavid S. Miller <davem@davemloft.net>2011-04-18 23:03:59 -0700
commit30f554f925335abad89aaa38eec6828242b27527 (patch)
tree6137d40e51d26cb39ec88fb2fe09ec79f41d44e4 /drivers/net/chelsio/tp.c
parentb437a8cc7de4c9d8d0bdb37e7621c119f7640967 (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.c5
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)
set_csum_offload(tp, F_IP_CSUM, enable);
}
-void t1_tp_set_udp_checksum_offload(struct petp *tp, int enable)
-{
- set_csum_offload(tp, F_UDP_CSUM, enable);
-}
-
void t1_tp_set_tcp_checksum_offload(struct petp *tp, int enable)
{
set_csum_offload(tp, F_TCP_CSUM, enable);