summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_sysctl.c
diff options
context:
space:
mode:
authorGreg Price <price@MIT.EDU>2013-11-29 21:02:33 +0100
committerTheodore Ts'o <tytso@mit.edu>2014-03-20 03:18:50 +0100
commit12ff3a517ab92b5496c731a3c354caa1f16c569f (patch)
tree598dfb6d4e4caa8ae10e8f04b76cd36d868e6ad3 /ipc/ipc_sysctl.c
parentrandom: fix description of get_random_bytes (diff)
downloadlinux-12ff3a517ab92b5496c731a3c354caa1f16c569f.tar.xz
linux-12ff3a517ab92b5496c731a3c354caa1f16c569f.zip
random: simplify loop in random_read
The loop condition never changes until just before a break, so we might as well write it as a constant. Also since a996996dd75a ("random: drop weird m_time/a_time manipulation") we don't do anything after the loop finishes, so the 'break's might as well return directly. Some other simplifications. There should be no change in behavior introduced by this commit. Signed-off-by: Greg Price <price@mit.edu> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'ipc/ipc_sysctl.c')
0 files changed, 0 insertions, 0 deletions