Commit 2258d927 authored by Florian Westphal's avatar Florian Westphal Committed by Steffen Klassert

xfrm: remove unused helper

Not used anymore since 2009 (9e0d57fd,
'xfrm: SAD entries do not expire correctly after suspend-resume').
Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent 31fbe81f
...@@ -388,14 +388,6 @@ static void xfrm_state_gc_task(struct work_struct *work) ...@@ -388,14 +388,6 @@ static void xfrm_state_gc_task(struct work_struct *work)
xfrm_state_gc_destroy(x); xfrm_state_gc_destroy(x);
} }
static inline unsigned long make_jiffies(long secs)
{
if (secs >= (MAX_SCHEDULE_TIMEOUT-1)/HZ)
return MAX_SCHEDULE_TIMEOUT-1;
else
return secs*HZ;
}
static enum hrtimer_restart xfrm_timer_handler(struct hrtimer *me) static enum hrtimer_restart xfrm_timer_handler(struct hrtimer *me)
{ {
struct tasklet_hrtimer *thr = container_of(me, struct tasklet_hrtimer, timer); struct tasklet_hrtimer *thr = container_of(me, struct tasklet_hrtimer, timer);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment