mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
ui/vnc: Remove useless parenthesis around DIV_ROUND_UP macro
Patch created mechanically by rerunning: $ spatch --sp-file scripts/coccinelle/round.cocci \ --macro-file scripts/cocci-macro-file.h \ --dir . --in-place Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20180704153919.12432-7-f4bug@amsat.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
6fb34ffcaa
commit
949ed4c227
2 changed files with 3 additions and 2 deletions
|
@ -979,7 +979,7 @@ static int send_mono_rect(VncState *vs, int x, int y,
|
|||
}
|
||||
#endif
|
||||
|
||||
bytes = (DIV_ROUND_UP(w, 8)) * h;
|
||||
bytes = DIV_ROUND_UP(w, 8) * h;
|
||||
|
||||
vnc_write_u8(vs, (stream | VNC_TIGHT_EXPLICIT_FILTER) << 4);
|
||||
vnc_write_u8(vs, VNC_TIGHT_FILTER_PALETTE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue