diff options
author | Oleg Nesterov <[email protected]> | 2009-04-02 16:58:39 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-04-02 19:05:02 -0700 |
commit | 1b0f7ffd0ea27cd3a0b9ca04e3df9522048c32a3 (patch) | |
tree | a8c27acdf95f55f93fe86661c6cba4cd36c8e4f1 /net/lapb/lapb_iface.c | |
parent | 52ee2dfdd4f51cf422ea6a96a0846dc94244aa37 (diff) |
pids: kill signal_struct-> __pgrp/__session and friends
We are wasting 2 words in signal_struct without any reason to implement
task_pgrp_nr() and task_session_nr().
task_session_nr() has no callers since
2e2ba22ea4fd4bb85f0fa37c521066db6775cbef, we can remove it.
task_pgrp_nr() is still (I believe wrongly) used in fs/autofsX and
fs/coda.
This patch reimplements task_pgrp_nr() via task_pgrp_nr_ns(), and kills
__pgrp/__session and the related helpers.
The change in drivers/char/tty_io.c is cosmetic, but hopefully makes sense
anyway.
Signed-off-by: Oleg Nesterov <[email protected]>
Acked-by: Alan Cox <[email protected]> [tty parts]
Cc: Cedric Le Goater <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Eric Biederman <[email protected]>
Cc: Pavel Emelyanov <[email protected]>
Cc: Serge Hallyn <[email protected]>
Cc: Sukadev Bhattiprolu <[email protected]>
Cc: Roland McGrath <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions