diff options
author | 2009-02-14 02:04:10 +0100 | |
---|---|---|
committer | 2009-02-21 14:17:17 -0800 | |
commit | 0cb57258fe01e9b21076b6a15b6aec7a24168228 (patch) | |
tree | 9744786d92356a21d3d2bcd2d3cc2935d81a489f /include/linux/kernel.h | |
parent | swsusp: dont fiddle with swappiness (diff) | |
download | wireguard-linux-0cb57258fe01e9b21076b6a15b6aec7a24168228.tar.xz wireguard-linux-0cb57258fe01e9b21076b6a15b6aec7a24168228.zip |
swsusp: clean up shrink_all_zones()
Move local variables to innermost possible scopes and use local
variables to cache calculations/reads done more than once.
No change in functionality (intended).
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Len Brown <lenb@kernel.org>
Cc: Greg KH <gregkh@suse.de>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions