OSDN Git Service

net-ipv6: remove unused IP6_ECN_clear() function
authorMaciej Żenczykowski <maze@google.com>
Wed, 27 Sep 2017 03:37:22 +0000 (20:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Oct 2017 00:55:54 +0000 (17:55 -0700)
commitb80ccfe9bbcac70e66fdfaef73f0988a27f9a68c
tree13687cfa9c1bce13510b6c7174c92de4d8a1f311
parent3733be14a32bae288b61ed28341e593baba983af
net-ipv6: remove unused IP6_ECN_clear() function

This function is unused, and furthermore it is buggy since it suffers
from the same issue that requires IP6_ECN_set_ce() to take a pointer
to the skb so that it may (in case of CHECKSUM_COMPLETE) update skb->csum

Instead of fixing it, let's just outright remove it.

Tested: builds, and 'git grep IP6_ECN_clear' comes up empty

Signed-off-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_ecn.h