Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11918
b: refs/heads/master
c: ae6866c
h: refs/heads/master
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Oct 31, 2005
1 parent 906b80b commit 67fdb8e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 621d31219d9a788bda924a0613048053f3f5f211
refs/heads/master: ae6866c377943de73e2c95398ff0120516f167ce
18 changes: 0 additions & 18 deletions trunk/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -830,12 +830,6 @@ static int send_signal(int sig, struct siginfo *info, struct task_struct *t,
* and sent by user using something other than kill().
*/
return -EAGAIN;
if (info->si_code == SI_TIMER)
/*
* Set up a return to indicate that we dropped
* the signal.
*/
ret = info->si_sys_private;
}

out_set:
Expand All @@ -856,12 +850,6 @@ specific_send_sig_info(int sig, struct siginfo *info, struct task_struct *t)
BUG();
assert_spin_locked(&t->sighand->siglock);

if (!is_si_special(info) && (info->si_code == SI_TIMER))
/*
* Set up a return to indicate that we dropped the signal.
*/
ret = info->si_sys_private;

/* Short-circuit ignored signals. */
if (sig_ignored(t, sig))
goto out;
Expand Down Expand Up @@ -1048,12 +1036,6 @@ __group_send_sig_info(int sig, struct siginfo *info, struct task_struct *p)
assert_spin_locked(&p->sighand->siglock);
handle_stop_signal(sig, p);

if (!is_si_special(info) && (info->si_code == SI_TIMER))
/*
* Set up a return to indicate that we dropped the signal.
*/
ret = info->si_sys_private;

/* Short-circuit ignored signals. */
if (sig_ignored(p, sig))
return ret;
Expand Down

0 comments on commit 67fdb8e

Please sign in to comment.