]> 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)
commitd4c8d2ec534c4d92dad90ee796b57241f59b7725
treeedc4ae4dd3a01a1b2059a723b699f4b8c266db2e
parent84e65313c764c9964f84c9ca9c3b99d64bfaaa2b
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