staging: tidspbridge: remove DBC_ENSURE and DBC_REQUIRED
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 6 Feb 2012 23:39:34 +0000 (00:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 17:38:18 +0000 (09:38 -0800)
commit276cc746d58b73aa4e046745441b8cf56858f9ef
tree775c713fb3153e11bc17af94b1614b9fc3b5843d
parent8900f00b1546a32be6b9dd7cf1633560e4381a76
staging: tidspbridge: remove DBC_ENSURE and DBC_REQUIRED

The kernel does not use a "Design by Contract" approach, and it is only
activated in the module if CONFIG_TIDSPBRDIGE_DEBUG is enabled, so they are
executed rarely. It is better to remove them: less code to maintain.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
24 files changed:
drivers/staging/tidspbridge/core/chnl_sm.c
drivers/staging/tidspbridge/core/tiomap3430.c
drivers/staging/tidspbridge/gen/uuidutil.c
drivers/staging/tidspbridge/include/dspbridge/dbc.h
drivers/staging/tidspbridge/pmgr/chnl.c
drivers/staging/tidspbridge/pmgr/cmm.c
drivers/staging/tidspbridge/pmgr/cod.c
drivers/staging/tidspbridge/pmgr/dbll.c
drivers/staging/tidspbridge/pmgr/dev.c
drivers/staging/tidspbridge/pmgr/dmm.c
drivers/staging/tidspbridge/pmgr/dspapi.c
drivers/staging/tidspbridge/pmgr/io.c
drivers/staging/tidspbridge/pmgr/msg.c
drivers/staging/tidspbridge/rmgr/dbdcd.c
drivers/staging/tidspbridge/rmgr/disp.c
drivers/staging/tidspbridge/rmgr/drv.c
drivers/staging/tidspbridge/rmgr/drv_interface.c
drivers/staging/tidspbridge/rmgr/dspdrv.c
drivers/staging/tidspbridge/rmgr/mgr.c
drivers/staging/tidspbridge/rmgr/nldr.c
drivers/staging/tidspbridge/rmgr/node.c
drivers/staging/tidspbridge/rmgr/proc.c
drivers/staging/tidspbridge/rmgr/rmm.c
drivers/staging/tidspbridge/rmgr/strm.c