From: Eric W. Biederman Date: Thu, 18 Oct 2007 10:05:31 +0000 (-0700) Subject: sysctl: simplify the pty sysctl logic X-Git-Tag: v2.6.24-rc1~385 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35834ca1e4bda56d252aa2024a283d631f0e5ac6;p=pandora-kernel.git sysctl: simplify the pty sysctl logic Instead of having a bunch of ifdefs in sysctl.c move all of the pty sysctl logic into drivers/char/pty.c As well as cleaning up the logic this prevents sysctl_check_table from complaining that the root table has a NULL data pointer on something with generic methods. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed