staging:ti dspbridge: remove DSP_FAILED macro definition
authorErnesto Ramos <ernesto@ti.com>
Wed, 28 Jul 2010 14:45:33 +0000 (09:45 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 28 Jul 2010 15:22:43 +0000 (08:22 -0700)
Since status succeeded is now 0 macro DSP_FAILED
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>
drivers/staging/tidspbridge/include/dspbridge/dbdefs.h

index 2ccbfe1f2ae3ba721f4ccd67f154efb8cc584134..5af075def8713a17a24f9de38b4632c5a2f7aa39 100644 (file)
@@ -91,9 +91,6 @@
 #define DSPWORD       unsigned char
 #define DSPWORDSIZE     sizeof(DSPWORD)
 
-/* Failure macro */
-#define DSP_FAILED(status)         unlikely((s32)(status) < 0)
-
 /* Power control enumerations */
 #define PROC_PWRCONTROL             0x8070
 
This page took 0.024839 seconds and 5 git commands to generate.