From: Ernesto Ramos Date: Wed, 28 Jul 2010 14:45:33 +0000 (-0500) Subject: staging:ti dspbridge: remove DSP_FAILED macro definition X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3a8965fda925361c291cb03f7aced2e3e51116b9;p=linux-beck.git staging:ti dspbridge: remove DSP_FAILED macro definition Since status succeeded is now 0 macro DSP_FAILED is not necessary anymore. This patch removes this define. Signed-off-by: Ernesto Ramos Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/tidspbridge/include/dspbridge/dbdefs.h b/drivers/staging/tidspbridge/include/dspbridge/dbdefs.h index 2ccbfe1f2ae3..5af075def871 100644 --- a/drivers/staging/tidspbridge/include/dspbridge/dbdefs.h +++ b/drivers/staging/tidspbridge/include/dspbridge/dbdefs.h @@ -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