inet: frags: remove inet_frag_maybe_warn_overflow()
This function is obsolete, after rhashtable addition to inet defrag. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
399d1404be
commit
2d44ed22e6
@@ -84,10 +84,9 @@ fq_find(struct net *net, const struct lowpan_802154_cb *cb,
|
||||
struct inet_frag_queue *q;
|
||||
|
||||
q = inet_frag_find(&ieee802154_lowpan->frags, &key);
|
||||
if (IS_ERR_OR_NULL(q)) {
|
||||
inet_frag_maybe_warn_overflow(q, pr_fmt());
|
||||
if (!q)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return container_of(q, struct lowpan_frag_queue, q);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user