From: David Howells Date: Thu, 4 Apr 2013 15:32:28 +0000 (+0100) Subject: procfs: Clean up huge if-statement in __proc_file_read() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~74^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad147d011f4e9d4e4309f7974fd19c7f875ccb14;p=pandora-kernel.git 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 --- Reading git-diff-tree failed