Commit 9e57a1c3ad58cfb4bdf27596a9b768f7584f1040
Committed by
Tom Rini
1 parent
4515992fc7
Exists in
v2017.01-smarct4x
and in
37 other branches
include/common.h: remove DIV_ROUND definition
All the references of DIV_ROUND have been replaced with DIV_ROUND_CLOSEST. Remove DIV_ROUND. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff
include/common.h
... | ... | @@ -950,7 +950,6 @@ |
950 | 950 | #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) |
951 | 951 | |
952 | 952 | #define ROUND(a,b) (((a) + (b) - 1) & ~((b) - 1)) |
953 | -#define DIV_ROUND(n,d) (((n) + ((d)/2)) / (d)) | |
954 | 953 | #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d)) |
955 | 954 | #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) |
956 | 955 |