[PATCH] end_buffer_write_sync() avoid pointless assignments

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>