diff options
author | Florian Westphal <fw@strlen.de> | 2016-09-27 17:53:58 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2016-09-30 08:20:56 +0200 |
commit | 2258d927a691ddd2ab585adb17ea9f96e89d0638 (patch) | |
tree | 666f21b8ed6a568976d17495c2fb7a442d0b9489 /net/xfrm | |
parent | Merge branch 'qcom-emac-acpi' (diff) | |
download | linux-2258d927a691ddd2ab585adb17ea9f96e89d0638.tar.xz linux-2258d927a691ddd2ab585adb17ea9f96e89d0638.zip |
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>
Diffstat (limited to 'net/xfrm')
-rw-r--r-- | net/xfrm/xfrm_state.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c index 419bf5d463bd..45cb7c699b65 100644 --- a/net/xfrm/xfrm_state.c +++ b/net/xfrm/xfrm_state.c @@ -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); |