Commit b2c71135 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] vmscan.c tidy up

(Included in 2.4)
Pavel Machek <pavel@ucw.cz>: trivial: vmscan extra {}s:
  Hi!

  Extra { } look ugly, too, they are not consistant with rest of code and I introduced them :-(
parent c6bc7b2f
...@@ -794,10 +794,8 @@ int kswapd(void *unused) ...@@ -794,10 +794,8 @@ int kswapd(void *unused)
add_wait_queue(&kswapd_wait, &wait); add_wait_queue(&kswapd_wait, &wait);
mb(); mb();
if (kswapd_can_sleep()) { if (kswapd_can_sleep())
schedule(); schedule();
}
__set_current_state(TASK_RUNNING); __set_current_state(TASK_RUNNING);
remove_wait_queue(&kswapd_wait, &wait); remove_wait_queue(&kswapd_wait, &wait);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment