xfrm: Remove unused xfrm_state from xfrm_state_check_space
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 21 Mar 2012 23:32:39 +0000 (23:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Mar 2012 23:29:58 +0000 (19:29 -0400)
commit26b2072e7536e57995b2867d057fbb32ecfe498d
treeedc4ae4dd3a01a1b2059a723b699f4b8c266db2e
parentf0229eaaf3f82522e2b16b41b0f45bb84a88d1b0
xfrm: Remove unused xfrm_state from xfrm_state_check_space

The xfrm_state argument is unused in this function, so remove it.
Also the name xfrm_state_check_space does not really match what this
function does. It actually checks if we have enough head and tailroom
on the skb. So we rename the function to xfrm_skb_check_space.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_output.c