]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8894c85e94f63cc4d1226a57e84b394733a15970
treeedc4ae4dd3a01a1b2059a723b699f4b8c266db2e
parent992896033a36df5290a2496fcd30c0d903473673
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