xfrm: remove the unnecessary checking before call xfrm_pol_hold
authorLi RongQing <roy.qing.li@gmail.com>
Thu, 30 Apr 2015 09:13:41 +0000 (17:13 +0800)
committerSteffen Klassert <steffen.klassert@secunet.com>
Tue, 5 May 2015 07:27:00 +0000 (09:27 +0200)
xfrm_pol_hold will check its input with NULL

Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_policy.c

Simple merge