Skip to content
Commit 80695683 authored by Laurent Vivier's avatar Laurent Vivier Committed by Michael Tokarev
Browse files

slirp: Use DIV_ROUND_UP



Replace (((n) + (d) - 1) /(d)) by DIV_ROUND_UP(n,d).

This patch is the result of coccinelle script
scripts/coccinelle/round.cocci

CC: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: default avatarLaurent Vivier <lvivier@redhat.com>
Acked-by: default avatarSamuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
parent 66c68a12
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment