summaryrefslogtreecommitdiffstats
path: root/fs/proc/inode.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2013-04-04 16:32:28 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2013-04-09 15:16:50 -0400
commitad147d011f4e9d4e4309f7974fd19c7f875ccb14 (patch)
tree97b2b327e036c0001e6a597da1f7802a226f1453 /fs/proc/inode.c
parentf805442e130c6eeb6c25bc5c3b3cefc27ab6dcec (diff)
downloadlinux-ad147d011f4e9d4e4309f7974fd19c7f875ccb14.tar.bz2
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 'fs/proc/inode.c')
0 files changed, 0 insertions, 0 deletions