Re: [v2] ext4: delete a no useful sentence

From
Theodore Ts'o <tytso@mit.edu>
Date
2012-07-09 14:25:31
Reply to
Haibo, 2012-06-21
On Thu, Jun 21, 2012 at 08:31:06AM -0000, Liu Haibo wrote:
From: Haibo Liu <redacted>

In this patch, the sentence "poff = block % blocks_per_page"
in ext4_mb_get_buddy_page_lock has no effect.
So we should delete it to save cpu.

v1->v2: update the patch subject and the patch comment.

Signed-off-by: Haibo Liu <redacted>
Applied, thanks.  BTW, I modified the patch description a little to
note that the compiler would optimize out the statement, but it's
better to remove unused C statements.

       	  	 				- Ted
Thread (2 messages) 2 messages, 2 authors, last reply 2012-07-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help