skb: Drop "fastpath" variable for skb_cloned check in pskb_expand_head
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 4 May 2012 14:26:51 +0000 (14:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 May 2012 17:13:19 +0000 (13:13 -0400)
commit3e24591a19bbda6fcb2cbe383b41b4ba794501bf
tree57cb4a46c8b94397c45ac2e9c43440aae6043015
parent9202e31d4632d82bd713fbd7d3fd229c0cd5b9cf
skb: Drop "fastpath" variable for skb_cloned check in pskb_expand_head

Since there is now only one spot that actually uses "fastpath" there isn't
much point in carrying it.  Instead we can just use a check for skb_cloned
to verify if we can perform the fast-path free for the head or not.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c