From: Rebecca Schultz Zavin <rebecca@xxxxxxxxxxx> This macro can refer to a varible not defined in this scope. gcc 4.4 and later will view this as an error and this code will not compile. Signed-off-by: Rebecca Schultz Zavin <rebecca@xxxxxxxxxxx> --- drivers/dsp/bridge/dynload/cload.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/drivers/dsp/bridge/dynload/cload.c b/drivers/dsp/bridge/dynload/cload.c index ef5d7d9..4fead55 100644 --- a/drivers/dsp/bridge/dynload/cload.c +++ b/drivers/dsp/bridge/dynload/cload.c @@ -1475,10 +1475,6 @@ static char *copy_tgt_strings(void *dstp, void *srcp, unsigned charcount) #if TARGET_AU_BITS <= BITS_PER_AU /* byte-swapping issues may exist for strings on target */ *dst++ = *src++; -#elif TARGET_ENDIANNESS_DIFFERS(TARGET_BIG_ENDIAN) - register TgtAU_t tmp; - tmp = *src++; - *dst++ = SWAP16BY8(tmp); /* right for TARGET_AU_BITS == 16 */ #else *dst++ = *src++; #endif @@ -1486,8 +1482,6 @@ static char *copy_tgt_strings(void *dstp, void *srcp, unsigned charcount) /*apply force to make sure that the string table has null terminator */ #if (BITS_PER_AU == BITS_PER_BYTE) && (TARGET_AU_BITS == BITS_PER_BYTE) dst[-1] = 0; -#elif TARGET_BIG_ENDIAN - dst[-1] &= ~BYTE_MASK; /* big-endian */ #else dst[-1] &= (1 << (BITS_PER_AU - BITS_PER_BYTE)) - 1; /* little endian */ #endif -- 1.6.2.4 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html