diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-18 22:37:51 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-18 22:37:51 +0000 |
commit | edb9abb9d2eeee29870f77e2b16522902271e649 (patch) | |
tree | 586fbc52ee68d68a9cd7337afacd939c4f399ca8 /target/linux | |
parent | 883c43578c90a21e254be58a0d5ef3e2567d8c40 (diff) | |
download | master-187ad058-edb9abb9d2eeee29870f77e2b16522902271e649.tar.gz master-187ad058-edb9abb9d2eeee29870f77e2b16522902271e649.tar.bz2 master-187ad058-edb9abb9d2eeee29870f77e2b16522902271e649.zip |
cns3xxx: remove unused define and use of a deprecated function
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48329 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/cns3xxx/files/drivers/net/ethernet/cavium/cns3xxx_eth.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/cns3xxx/files/drivers/net/ethernet/cavium/cns3xxx_eth.c b/target/linux/cns3xxx/files/drivers/net/ethernet/cavium/cns3xxx_eth.c index e2db636871..e85e1bef9f 100644 --- a/target/linux/cns3xxx/files/drivers/net/ethernet/cavium/cns3xxx_eth.c +++ b/target/linux/cns3xxx/files/drivers/net/ethernet/cavium/cns3xxx_eth.c @@ -56,7 +56,6 @@ #define FIRST_SEGMENT 0x20000000 #define LAST_SEGMENT 0x10000000 #define FORCE_ROUTE 0x04000000 -#define IP_CHECKSUM 0x00040000 #define UDP_CHECKSUM 0x00020000 #define TCP_CHECKSUM 0x00010000 @@ -662,7 +661,7 @@ static int eth_poll(struct napi_struct *napi, int budget) sw->frag_first = skb; else { if (sw->frag_first == sw->frag_last) - skb_frag_add_head(sw->frag_first, skb); + skb_shinfo(sw->frag_first)->frag_list = skb; else sw->frag_last->next = skb; sw->frag_first->len += skb->len; |