diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2016-09-06 09:51:17 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-10-21 14:59:07 -0200 |
commit | 624e9896c5bffee146ebb05b9366f8dc3f8b54aa (patch) | |
tree | 2d7765ccfb60b5edb9bb2e11ee8a871c81bfa706 /lib/dec_and_lock.c | |
parent | 6c5ff7c8e8800c95be96c59f02ea31b8860ad745 (diff) | |
download | blackbird-op-linux-624e9896c5bffee146ebb05b9366f8dc3f8b54aa.tar.gz blackbird-op-linux-624e9896c5bffee146ebb05b9366f8dc3f8b54aa.zip |
[media] smiapp: Remove unnecessary BUG_ON()'s
Instead, calculate how much is needed and then allocate the memory
dynamically.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'lib/dec_and_lock.c')
0 files changed, 0 insertions, 0 deletions