diff options
Diffstat (limited to 'drivers/staging/tidspbridge/pmgr/dspapi.c')
-rw-r--r-- | drivers/staging/tidspbridge/pmgr/dspapi.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/tidspbridge/pmgr/dspapi.c b/drivers/staging/tidspbridge/pmgr/dspapi.c index 767ffe270ed..27c14a577dc 100644 --- a/drivers/staging/tidspbridge/pmgr/dspapi.c +++ b/drivers/staging/tidspbridge/pmgr/dspapi.c | |||
@@ -266,7 +266,6 @@ err: | |||
266 | */ | 266 | */ |
267 | void api_exit(void) | 267 | void api_exit(void) |
268 | { | 268 | { |
269 | DBC_REQUIRE(api_c_refs > 0); | ||
270 | api_c_refs--; | 269 | api_c_refs--; |
271 | 270 | ||
272 | if (api_c_refs == 0) { | 271 | if (api_c_refs == 0) { |
@@ -284,7 +283,6 @@ void api_exit(void) | |||
284 | rmm_exit(); | 283 | rmm_exit(); |
285 | drv_exit(); | 284 | drv_exit(); |
286 | } | 285 | } |
287 | DBC_ENSURE(api_c_refs >= 0); | ||
288 | } | 286 | } |
289 | 287 | ||
290 | /* | 288 | /* |
@@ -382,8 +380,6 @@ int api_init_complete2(void) | |||
382 | struct drv_data *drv_datap; | 380 | struct drv_data *drv_datap; |
383 | u8 dev_type; | 381 | u8 dev_type; |
384 | 382 | ||
385 | DBC_REQUIRE(api_c_refs > 0); | ||
386 | |||
387 | /* Walk the list of DevObjects, get each devnode, and attempting to | 383 | /* Walk the list of DevObjects, get each devnode, and attempting to |
388 | * autostart the board. Note that this requires COF loading, which | 384 | * autostart the board. Note that this requires COF loading, which |
389 | * requires KFILE. */ | 385 | * requires KFILE. */ |