[PATCH] end_buffer_write_sync() avoid pointless assignments