diff options
author | Jovi Zhang <[email protected]> | 2011-01-12 17:00:34 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-01-13 08:03:16 -0800 |
commit | c6a340584607f653e10549c76dd427d4780c8f2c (patch) | |
tree | 20e82a1dd34f4b2f7477bf02b398759ba026d772 /net/unix/sysctl_net_unix.c | |
parent | 6d1b6e4eff89475785f60fa00f65da780f869f36 (diff) |
proc: use single_open() correctly
single_open()'s third argument is for copying into seq_file->private. Use
that, rather than open-coding it.
Signed-off-by: Jovi Zhang <[email protected]>
Acked-by: David Rientjes <[email protected]>
Acked-by: Alexey Dobriyan <[email protected]>
Reviewed-by: KOSAKI Motohiro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions