diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-11-06 21:03:27 +0300 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-11-20 19:28:25 +0300 |
commit | 9e57a1c3ad58cfb4bdf27596a9b768f7584f1040 (patch) | |
tree | b57b7e1f4483a0c228d3304d11b9ff1bfcf30bb4 /include/common.h | |
parent | 4515992fc7849c51997e3ff2d00352e36e14ebd7 (diff) | |
download | u-boot-9e57a1c3ad58cfb4bdf27596a9b768f7584f1040.tar.xz |
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>
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h index ecf7fcaf7b..c9fe38656e 100644 --- a/include/common.h +++ b/include/common.h @@ -950,7 +950,6 @@ static inline phys_addr_t map_to_sysmem(const void *ptr) #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) #define ROUND(a,b) (((a) + (b) - 1) & ~((b) - 1)) -#define DIV_ROUND(n,d) (((n) + ((d)/2)) / (d)) #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d)) #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) |