aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorKrzysztof Helt <[email protected]>2008-07-23 21:31:44 -0700
committerLinus Torvalds <[email protected]>2008-07-24 10:47:41 -0700
commit7fc80b7bd682b47825e806018cca8ff7dc6bb55a (patch)
treed408bf73887f4788e0d5e70c91320fff1391f624 /net/unix/sysctl_net_unix.c
parent5798712d608f5ebad994487748a2ccf3cc613d78 (diff)
neofb: simplify clock calculation
There is nothing to gain by converting value in kHz to fixed point MHz. Just calculate everything in kHz. A reorder of the loop allows reducing number of iterations (check if frequency is not too high already). Signed-off-by: Krzysztof Helt <[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