diff options
author | David Howells <dhowells@redhat.com> | 2013-04-04 16:32:28 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-09 15:16:50 -0400 |
commit | ad147d011f4e9d4e4309f7974fd19c7f875ccb14 (patch) | |
tree | 97b2b327e036c0001e6a597da1f7802a226f1453 /include/linux/proc_fs.h | |
parent | vt6655: slightly clean reading config file (diff) | |
download | linux-dev-ad147d011f4e9d4e4309f7974fd19c7f875ccb14.tar.xz linux-dev-ad147d011f4e9d4e4309f7974fd19c7f875ccb14.zip |
procfs: Clean up huge if-statement in __proc_file_read()
Switch huge if-statement in __proc_file_read() around. This then puts the
single line loop break immediately after the if-statement and allows us to
de-indent the huge comment and make it take fewer lines. The code following
the if-statement then follows naturally from the call to dp->read_proc().
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions