|
@@ -856,11 +856,10 @@ retry_delete:
|
|
|
* This keeps any tasks waiting on the spin lock from thinking
|
|
|
* they got something (see the lock code above).
|
|
|
*/
|
|
|
- if (timer->it_process) {
|
|
|
- if (timer->it_sigev_notify == (SIGEV_SIGNAL|SIGEV_THREAD_ID))
|
|
|
- put_task_struct(timer->it_process);
|
|
|
- timer->it_process = NULL;
|
|
|
- }
|
|
|
+ if (timer->it_sigev_notify == (SIGEV_SIGNAL|SIGEV_THREAD_ID))
|
|
|
+ put_task_struct(timer->it_process);
|
|
|
+ timer->it_process = NULL;
|
|
|
+
|
|
|
unlock_timer(timer, flags);
|
|
|
release_posix_timer(timer, IT_ID_SET);
|
|
|
return 0;
|
|
@@ -885,11 +884,10 @@ retry_delete:
|
|
|
* This keeps any tasks waiting on the spin lock from thinking
|
|
|
* they got something (see the lock code above).
|
|
|
*/
|
|
|
- if (timer->it_process) {
|
|
|
- if (timer->it_sigev_notify == (SIGEV_SIGNAL|SIGEV_THREAD_ID))
|
|
|
- put_task_struct(timer->it_process);
|
|
|
- timer->it_process = NULL;
|
|
|
- }
|
|
|
+ if (timer->it_sigev_notify == (SIGEV_SIGNAL|SIGEV_THREAD_ID))
|
|
|
+ put_task_struct(timer->it_process);
|
|
|
+ timer->it_process = NULL;
|
|
|
+
|
|
|
unlock_timer(timer, flags);
|
|
|
release_posix_timer(timer, IT_ID_SET);
|
|
|
}
|