mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-12 16:19:53 +00:00
xfrm: remove unused helper
Not used anymore since 2009 (9e0d57fd6dad37, 'xfrm: SAD entries do not expire correctly after suspend-resume'). Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
This commit is contained in:
parent
31fbe81fe3
commit
2258d927a6
@ -388,14 +388,6 @@ static void xfrm_state_gc_task(struct work_struct *work)
|
||||
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)
|
||||
{
|
||||
struct tasklet_hrtimer *thr = container_of(me, struct tasklet_hrtimer, timer);
|
||||
|
Loading…
x
Reference in New Issue
Block a user