From: Rob Jones Date: Mon, 13 Oct 2014 22:54:14 +0000 (-0700) Subject: ipc/util.c: use __seq_open_private() instead of seq_open() X-Git-Tag: fixes-against-v3.18-rc2~79^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d66a0520cb46fb4f86b070e5f1926f6e53f23b38;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed