diff options
author | Willem de Bruijn <willemb@google.com> | 2014-09-08 19:08:34 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-08 16:42:42 -0700 |
commit | a7f26b7e1ee73ac9e766c430fea5af658d839954 (patch) | |
tree | 24ddbc5f3052e033a8721d0b0ef27b425823123f /drivers/net/wireless/iwlwifi/pcie/internal.h | |
parent | 1923d6e4186c9470a83d0179e86e1aea8cfcbe67 (diff) | |
download | linux-a7f26b7e1ee73ac9e766c430fea5af658d839954.tar.bz2 |
inet: remove dead inetpeer sequence code
inetpeer sequence numbers are no longer incremented, so no need to
check and flush the tree. The function that increments the sequence
number was already dead code and removed in in "ipv4: remove unused
function" (068a6e18). Remove the code that checks for a change, too.
Verifying that v4_seq and v6_seq are never incremented and thus that
flush_check compares bp->flush_seq to 0 is trivial.
The second part of the change removes flush_check completely even
though bp->flush_seq is exactly !0 once, at initialization. This
change is correct because the time this branch is true is when
bp->root == peer_avl_empty_rcu, in which the branch and
inetpeer_invalidate_tree are a NOOP.
Signed-off-by: Willem de Bruijn <willemb@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/pcie/internal.h')
0 files changed, 0 insertions, 0 deletions