diff options
author | Armando Uribe <x0095078@ti.com> | 2010-07-22 20:25:34 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-26 15:32:21 -0700 |
commit | 14de72b0aa56e20f24f9ecc1a449da1ed4fd5cda (patch) | |
tree | e424693b7910f489965fe1c98b27fed4c03cc00d /drivers/staging/tidspbridge/rmgr/nldr.c | |
parent | bf968b0a521fc5fd3faf66afa315d8183246c72f (diff) | |
download | op-kernel-dev-14de72b0aa56e20f24f9ecc1a449da1ed4fd5cda.zip op-kernel-dev-14de72b0aa56e20f24f9ecc1a449da1ed4fd5cda.tar.gz |
staging: tidspbridge: Remove unused macros
This patch removes a couple of macros that are not
being used
Signed-off-by: Armando Uribe <x0095078@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/tidspbridge/rmgr/nldr.c')
-rw-r--r-- | drivers/staging/tidspbridge/rmgr/nldr.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/staging/tidspbridge/rmgr/nldr.c b/drivers/staging/tidspbridge/rmgr/nldr.c index 33d2872..23b44cf 100644 --- a/drivers/staging/tidspbridge/rmgr/nldr.c +++ b/drivers/staging/tidspbridge/rmgr/nldr.c @@ -114,19 +114,6 @@ #define DELETECODEFLAGBIT 5 #define MAXFLAGS 6 -#define IS_INTERNAL(nldr_obj, segid) (((segid) <= MAXSEGID && \ - nldr_obj->seg_table[(segid)] & DYNM_INTERNAL) || \ - (segid) == MEMINTERNALID) - -#define IS_EXTERNAL(nldr_obj, segid) (((segid) <= MAXSEGID && \ - nldr_obj->seg_table[(segid)] & DYNM_EXTERNAL) || \ - (segid) == MEMEXTERNALID) - -#define SWAPLONG(x) ((((x) << 24) & 0xFF000000) | (((x) << 8) & 0xFF0000L) | \ - (((x) >> 8) & 0xFF00L) | (((x) >> 24) & 0xFF)) - -#define SWAPWORD(x) ((((x) << 8) & 0xFF00) | (((x) >> 8) & 0xFF)) - /* * These names may be embedded in overlay sections to identify which * node phase the section should be overlayed. |