diff options
author | Armando Uribe <x0095078@ti.com> | 2010-07-23 05:25:32 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-27 02:32:20 +0400 |
commit | 803cd75eff2d560d622da69569f0bf66a3ea4ed1 (patch) | |
tree | af7daa05aa38dda6b8eebb65cf5b531dd08ec8b6 /drivers/staging/tidspbridge/pmgr/dbll.c | |
parent | fe15ea8b86f19bf7c4d1a4ea7452f1bb04b8933a (diff) | |
download | linux-803cd75eff2d560d622da69569f0bf66a3ea4ed1.tar.xz |
staging: tidspbridge: Remove macros used as cast
This patch removes those macros that are used to
perform casts
Signed-off-by: Armando Uribe <x0095078@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/tidspbridge/pmgr/dbll.c')
-rw-r--r-- | drivers/staging/tidspbridge/pmgr/dbll.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/tidspbridge/pmgr/dbll.c b/drivers/staging/tidspbridge/pmgr/dbll.c index e8da0300564e..d1806aaa26a0 100644 --- a/drivers/staging/tidspbridge/pmgr/dbll.c +++ b/drivers/staging/tidspbridge/pmgr/dbll.c @@ -41,10 +41,7 @@ /* Max buffer length */ #define MAXEXPR 128 -#ifndef UINT32_C -#define UINT32_C(zzz) ((uint32_t)zzz) -#endif -#define DOFF_ALIGN(x) (((x) + 3) & ~UINT32_C(3)) +#define DOFF_ALIGN(x) (((x) + 3) & ~3UL) /* * ======== struct dbll_tar_obj* ======== |