Skip to content

Commit ee3d368

Browse files
lategoodbyegregkh
authored andcommitted
staging: vchiq_arm: Drop obsolete comment
The BUG_ON has been replaced with WARN_ON. So we can drop the comment. Signed-off-by: Stefan Wahren <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 56df512 commit ee3d368

File tree

1 file changed

+0
-1
lines changed
  • drivers/staging/vc04_services/interface/vchiq_arm

1 file changed

+0
-1
lines changed

drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1448,7 +1448,6 @@ vchiq_release_internal(struct vchiq_state *state, struct vchiq_service *service)
14481448

14491449
write_lock_bh(&arm_state->susp_res_lock);
14501450
if (!arm_state->videocore_use_count || !(*entity_uc)) {
1451-
/* Don't use BUG_ON - don't allow user thread to crash kernel */
14521451
WARN_ON(!arm_state->videocore_use_count);
14531452
WARN_ON(!(*entity_uc));
14541453
ret = -EINVAL;

0 commit comments

Comments
 (0)