summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErnesto Ramos2010-07-28 16:45:33 +0200
committerGreg Kroah-Hartman2010-07-28 17:22:43 +0200
commit3a8965fda925361c291cb03f7aced2e3e51116b9 (patch)
tree8baf643cd1304309803027a05e50c5ef1177aed3
parentstaging:ti dspbridge: remove DSP_FAILED macro from services (diff)
downloadkernel-qcow2-linux-3a8965fda925361c291cb03f7aced2e3e51116b9.tar.gz
kernel-qcow2-linux-3a8965fda925361c291cb03f7aced2e3e51116b9.tar.xz
kernel-qcow2-linux-3a8965fda925361c291cb03f7aced2e3e51116b9.zip
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 <ernesto@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/tidspbridge/include/dspbridge/dbdefs.h3
1 files changed, 0 insertions, 3 deletions
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