be2net: remove LANCER A0 workaround
authorSathya Perla <sathya.perla@emulex.com>
Tue, 6 Nov 2012 17:48:55 +0000 (17:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Nov 2012 21:59:52 +0000 (16:59 -0500)
It's not needed anymore.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c

index 5e48674f72456cc7595a92e1bb77365ddd661a0e..d982cb09149b937361e0640e9d8a9272ae76bb5f 100644 (file)
@@ -621,16 +621,6 @@ static void wrb_fill_hdr(struct be_adapter *adapter, struct be_eth_hdr_wrb *hdr,
                        hdr, skb_shinfo(skb)->gso_size);
                if (skb_is_gso_v6(skb) && !lancer_chip(adapter))
                        AMAP_SET_BITS(struct amap_eth_hdr_wrb, lso6, hdr, 1);
-               if (lancer_chip(adapter) && adapter->sli_family  ==
-                                                       LANCER_A0_SLI_FAMILY) {
-                       AMAP_SET_BITS(struct amap_eth_hdr_wrb, ipcs, hdr, 1);
-                       if (is_tcp_pkt(skb))
-                               AMAP_SET_BITS(struct amap_eth_hdr_wrb,
-                                                               tcpcs, hdr, 1);
-                       else if (is_udp_pkt(skb))
-                               AMAP_SET_BITS(struct amap_eth_hdr_wrb,
-                                                               udpcs, hdr, 1);
-               }
        } else if (skb->ip_summed == CHECKSUM_PARTIAL) {
                if (is_tcp_pkt(skb))
                        AMAP_SET_BITS(struct amap_eth_hdr_wrb, tcpcs, hdr, 1);
This page took 0.030648 seconds and 5 git commands to generate.