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/io.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/io.c')
-rw-r--r-- | drivers/staging/tidspbridge/pmgr/io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/tidspbridge/pmgr/io.c b/drivers/staging/tidspbridge/pmgr/io.c index 2c26f063b06d..7970fe55648e 100644 --- a/drivers/staging/tidspbridge/pmgr/io.c +++ b/drivers/staging/tidspbridge/pmgr/io.c @@ -67,14 +67,14 @@ int io_create(struct io_mgr **io_man, struct dev_object *hdev_obj, if (mgr_attrts->word_size == 0) status = -EINVAL; - if (DSP_SUCCEEDED(status)) { + if (!status) { dev_get_intf_fxns(hdev_obj, &intf_fxns); /* Let Bridge channel module finish the create: */ status = (*intf_fxns->pfn_io_create) (&hio_mgr, hdev_obj, mgr_attrts); - if (DSP_SUCCEEDED(status)) { + if (!status) { pio_mgr = (struct io_mgr_ *)hio_mgr; pio_mgr->intf_fxns = intf_fxns; pio_mgr->hdev_obj = hdev_obj; |