We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 986af8d commit fc4b4d9Copy full SHA for fc4b4d9
kernel/time/alarmtimer.c
@@ -751,7 +751,7 @@ static int alarm_timer_create(struct k_itimer *new_timer)
751
static enum alarmtimer_restart alarmtimer_nsleep_wakeup(struct alarm *alarm,
752
ktime_t now)
753
{
754
- struct task_struct *task = (struct task_struct *)alarm->data;
+ struct task_struct *task = alarm->data;
755
756
alarm->data = NULL;
757
if (task)
0 commit comments