Skip to content

Commit

Permalink
staging:ti dspbridge: remove DSP_SUCCEEDED macro definition
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ernesto Ramos authored and Greg Kroah-Hartman committed Jul 28, 2010
1 parent 95bd64a commit 54621f0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/staging/tidspbridge/include/dspbridge/dbdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 54621f0

Please sign in to comment.