aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/android/vsoc.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-07-26 20:30:49 +0200
committerThomas Gleixner <tglx@linutronix.de>2019-07-30 23:57:51 +0200
commitb74494872555d1f7888dfd9225700a363f4a84fc (patch)
tree1135ad192836fe3c725448640608e3320549f5a1 /drivers/staging/android/vsoc.c
parentlib/timerqueue: Rely on rbtree semantics for next timer (diff)
downloadlinux-dev-b74494872555d1f7888dfd9225700a363f4a84fc.tar.xz
linux-dev-b74494872555d1f7888dfd9225700a363f4a84fc.zip
hrtimer: Remove task argument from hrtimer_init_sleeper()
All callers hand in 'current' and that's the only task pointer which actually makes sense. Remove the task argument and set current in the function. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20190726185752.791885290@linutronix.de
Diffstat (limited to 'drivers/staging/android/vsoc.c')
-rw-r--r--drivers/staging/android/vsoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/android/vsoc.c b/drivers/staging/android/vsoc.c
index 00a1ec7b9154..ce480bcf20d2 100644
--- a/drivers/staging/android/vsoc.c
+++ b/drivers/staging/android/vsoc.c
@@ -442,7 +442,7 @@ static int handle_vsoc_cond_wait(struct file *filp, struct vsoc_cond_wait *arg)
hrtimer_set_expires_range_ns(&to->timer, wake_time,
current->timer_slack_ns);
- hrtimer_init_sleeper(to, current);
+ hrtimer_init_sleeper(to);
}
while (1) {