Re: [PATCH][ipsec-next] xfrm: remove unnecessary check in xfrmi_get_stats64

2018-10-09 Thread Steffen Klassert
On Sun, Oct 07, 2018 at 09:56:15AM +0800, Li RongQing wrote: > if tstats of a device is not allocated, this device is not > registered correctly and can not be used. > > Signed-off-by: Li RongQing Applied to ipsec-next, thanks!

[PATCH][ipsec-next] xfrm: remove unnecessary check in xfrmi_get_stats64

2018-10-06 Thread Li RongQing
if tstats of a device is not allocated, this device is not registered correctly and can not be used. Signed-off-by: Li RongQing --- net/xfrm/xfrm_interface.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/net/xfrm/xfrm_interface.c b/net/xfrm/xfrm_interface.c index dc5b20bf29cf..abafd49cc6