[PATCH 05/10] staging:ti dspbridge: remove DSP_SUCCEEDED macro definition

From: Ernesto Ramos
Date: Wed Jul 28 2010 - 10:42:24 EST


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

Signed-off-by: Ernesto Ramos <ernesto@xxxxxx>
---
.../staging/tidspbridge/include/dspbridge/dbdefs.h | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/tidspbridge/include/dspbridge/dbdefs.h b/drivers/staging/tidspbridge/include/dspbridge/dbdefs.h
index 397e2cb..2ccbfe1 100644
--- a/drivers/staging/tidspbridge/include/dspbridge/dbdefs.h
+++ b/drivers/staging/tidspbridge/include/dspbridge/dbdefs.h
@@ -91,8 +91,7 @@
#define DSPWORD unsigned char
#define DSPWORDSIZE sizeof(DSPWORD)

-/* Success & Failure macros */
-#define DSP_SUCCEEDED(status) likely((s32)(status) >= 0)
+/* Failure macro */
#define DSP_FAILED(status) unlikely((s32)(status) < 0)

/* Power control enumerations */
--
1.5.4.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/