diff options
author | Ernesto Ramos <ernesto@ti.com> | 2010-07-28 09:45:28 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-28 08:22:42 -0700 |
commit | 54621f031c037d4df9844e5246ce1924c49a703e (patch) | |
tree | 1d26f8731aedbb8dd8b9a2ea36a6396cb00af746 /drivers/staging/tidspbridge | |
parent | 95bd64a893e036ccc54ceef25d4c55fcfe3a4475 (diff) |
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>
Diffstat (limited to 'drivers/staging/tidspbridge')
-rw-r--r-- | drivers/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 397e2cb2be51..2ccbfe1f2ae3 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 */ |