staging:ti dspbridge: remove DSP_SUCCEEDED macro definition

Since status succeeded is now 0 macro DSP_SUCCEEDED
is not necessary anymore. This patch removes this
define.

Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Ernesto Ramos 2010-07-28 09:45:28 -05:00 committed by Greg Kroah-Hartman
parent 95bd64a893
commit 54621f031c

View File

@ -91,8 +91,7 @@
#define DSPWORD unsigned char #define DSPWORD unsigned char
#define DSPWORDSIZE sizeof(DSPWORD) #define DSPWORDSIZE sizeof(DSPWORD)
/* Success & Failure macros */ /* Failure macro */
#define DSP_SUCCEEDED(status) likely((s32)(status) >= 0)
#define DSP_FAILED(status) unlikely((s32)(status) < 0) #define DSP_FAILED(status) unlikely((s32)(status) < 0)
/* Power control enumerations */ /* Power control enumerations */