diff options
author | Jan Engelhardt <jengelh@gmx.de> | 2006-06-25 08:47:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 13:01:05 -0400 |
commit | a04ee14636fa339c4609766bd6173629d4f9026e (patch) | |
tree | 2a0e960d35f9cc586d128578adbf4a11aac45e40 /net/sysctl_net.c | |
parent | 515decdccf81cfbf5273d7f0085aea954ecd26c4 (diff) |
[PATCH] openpromfs: factorize out
"Move" "common code" out to PTR_NOD, which does the conversion from private
pointer to node number. This is to reduce potential casting/conversion errors
due to redundancy. (The naming PTR_NOD follows PTR_ERR, turning a pointer
into xyz.)
[akpm@osdl.org: cleanups]
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/sysctl_net.c')
0 files changed, 0 insertions, 0 deletions