dspbridge: minor clean up in memdefs.h
Subsystems (2)
PATCH 1/1 dspbridge: minor clean up in memdefs.h
From: Andy Shevchenko <[email protected]>
Remove useless macroses. They were doing nothing, so it's clear to just get rid of them.
Signed-off-by Andy Shevchenko <[email protected]>
--- arch/arm/plat-omap/include/dspbridge/memdefs.h | 3 --- drivers/dsp/bridge/wmd/tiomap_io.c | 5 ++--- 2 files changed, 2 insertions(+), 6 deletions(-)
arch/arm/plat-omap/include/dspbridge/memdefs.h +0 -3
@@ -34,7 +34,4 @@#define MEM_GETVIRTUALSEGID 0x20000000#define MEM_MASKVIRTUALSEGID (MEM_SETVIRTUALSEGID | MEM_GETVIRTUALSEGID) -#define TO_VIRTUAL_UNCACHED (x) x -#define INTREG_TO_VIRTUAL_UNCACHED (x) x -#endif /* MEMDEFS_ */
drivers/dsp/bridge/wmd/tiomap_io.c +2 -3
@@ -366,9 +366,8 @@ DSP_STATUS WriteExtDspData(struct WMD_DEV_CONTEXT *pDevContext, dwExtProgVirtMem); pDevContext->dwDspExtBaseAddr = - (u32 )MEM_LinearAddress ((void *) -TO_VIRTUAL_UNCACHED (dwExtProgVirtMem), ulExtEnd - - ulExtBase); + (u32 )MEM_LinearAddress ((void *)dwExtProgVirtMem, + ulExtEnd - ulExtBase); dwBaseAddr += pDevContext->dwDspExtBaseAddr;/* This dwDspExtBaseAddr will get cleared only when * the board is stopped. */
Signature · 1 line
1.5.6.5
Quoted 11 lines · On 1/27/2010 6:39 AM, [email protected] wrote:
From: Andy Shevchenko<[email protected]>
Remove useless macroses. They were doing nothing, so it's clear to just get rid of them.
Signed-off-by Andy Shevchenko<[email protected]>--- arch/arm/plat-omap/include/dspbridge/memdefs.h | 3 --- drivers/dsp/bridge/wmd/tiomap_io.c | 5 ++--- 2 files changed, 2 insertions(+), 6 deletions(-)
Pushed to dspbridge.
- omar