mm/page-writeback.c: use setup_deferrable_timer
authorGeliang Tang <geliangtang@gmail.com>
Wed, 3 May 2017 21:52:19 +0000 (14:52 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 May 2017 22:52:08 +0000 (15:52 -0700)
commit0a372d09cca6a71610af6a353617dbb90facde76
tree933b9607c20ea4a145d83f62f44099602f5a9c02
parent491d79ae778f24dbf65f1f2178d4744d940d4093
mm/page-writeback.c: use setup_deferrable_timer

Use setup_deferrable_timer() instead of init_timer_deferrable() to
simplify the code.

Link: http://lkml.kernel.org/r/e8e3d4280a34facbc007346f31df833cec28801e.1488070291.git.geliangtang@gmail.com
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/page-writeback.c