diff options
author | Ernesto Ramos <ernesto@ti.com> | 2010-07-28 18:45:25 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-28 19:22:42 +0400 |
commit | 157990f0d7f70aaa2b0158f959994eb0f65c05c0 (patch) | |
tree | 63e2cda24839de45e22917115b9cfdf7fe6cb0c7 /drivers/staging/tidspbridge/pmgr/msg.c | |
parent | e6486d8cee8d5be063cc2971ad274eb90f27e18c (diff) | |
download | linux-157990f0d7f70aaa2b0158f959994eb0f65c05c0.tar.xz |
staging:ti dspbridge: remove DSP_SUCCEEDED macro from pmgr
Since status succeeded is now 0 macro DSP_SUCCEEDED
is not necessary anymore.
Signed-off-by: Ernesto Ramos <ernesto@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/tidspbridge/pmgr/msg.c')
-rw-r--r-- | drivers/staging/tidspbridge/pmgr/msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/tidspbridge/pmgr/msg.c b/drivers/staging/tidspbridge/pmgr/msg.c index 884f8b5934b6..abd436590627 100644 --- a/drivers/staging/tidspbridge/pmgr/msg.c +++ b/drivers/staging/tidspbridge/pmgr/msg.c @@ -66,7 +66,7 @@ int msg_create(struct msg_mgr **msg_man, status = (*intf_fxns->pfn_msg_create) (&hmsg_mgr, hdev_obj, msg_callback); - if (DSP_SUCCEEDED(status)) { + if (!status) { /* Fill in DSP API message module's fields of the msg_mgr * structure */ msg_mgr_obj = (struct msg_mgr_ *)hmsg_mgr; |