diff options
author | Rob Jones | 2014-10-14 00:54:14 +0200 |
---|---|---|
committer | Linus Torvalds | 2014-10-14 02:18:23 +0200 |
commit | d66a0520cb46fb4f86b070e5f1926f6e53f23b38 (patch) | |
tree | b7281faa4e9b6bffe7215d1bb875830e6ca64e99 /ipc/compat.c | |
parent | ipc/shm: kill the historical/wrong mm->start_stack check (diff) | |
download | kernel-qcow2-linux-d66a0520cb46fb4f86b070e5f1926f6e53f23b38.tar.gz kernel-qcow2-linux-d66a0520cb46fb4f86b070e5f1926f6e53f23b38.tar.xz kernel-qcow2-linux-d66a0520cb46fb4f86b070e5f1926f6e53f23b38.zip |
ipc/util.c: use __seq_open_private() instead of seq_open()
Using __seq_open_private() removes boilerplate code from
sysvipc_proc_open().
The resultant code is shorter and easier to follow.
However, please note that __seq_open_private() call kzalloc() rather than
kmalloc() which may affect timing due to the memory initialisation
overhead.
Signed-off-by: Rob Jones <rob.jones@codethink.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/compat.c')
0 files changed, 0 insertions, 0 deletions