]> git.karo-electronics.de Git - linux-beck.git/commit
ext4: remove an unused statement in ext4_mb_get_buddy_page_lock()
authorHaibo Liu <HaiboLiu6@gmai.com>
Mon, 9 Jul 2012 20:29:28 +0000 (16:29 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 9 Jul 2012 20:29:28 +0000 (16:29 -0400)
commit62a1391ddd6fbe82fc02154dc760bcc5cbc9ef68
treed774785ccc48bb178da3d85af9ca0a5f3c197f4c
parente7bcf8230498b9568e09d74e296e71a01e024006
ext4: remove an unused statement in ext4_mb_get_buddy_page_lock()

In this patch, the statement "poff = block % blocks_per_page"
in ext4_mb_get_buddy_page_lock has no effect.

It will be optimized out by the compiler, but it's better to remove it.

Signed-off-by: Haibo Liu <HaiboLiu6@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/mballoc.c