summaryrefslogtreecommitdiff
path: root/sound/soc/intel/atom/sst/sst_stream.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-09-07 11:59:18 +0300
committerMark Brown <broonie@kernel.org>2017-09-20 14:45:50 +0300
commit89db6f9632e38b6b5cc7f23f4b67f74470319978 (patch)
tree7349e25639f8bfd7322cd08ea6dd8f8f649bdcf7 /sound/soc/intel/atom/sst/sst_stream.c
parent870fcae998dd16f3985627b4151ab8491d94b8c7 (diff)
downloadlinux-89db6f9632e38b6b5cc7f23f4b67f74470319978.tar.xz
ASoC: intel: Kill BUG_ON() usage
Don't use BUG_ON() for a non-critical sanity check on production systems. This patch either removes useless BUG_ON() calls. Signed-off-by: Takashi Iwai <tiwai@suse.de> Acked-By: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/atom/sst/sst_stream.c')
-rw-r--r--sound/soc/intel/atom/sst/sst_stream.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/intel/atom/sst/sst_stream.c b/sound/soc/intel/atom/sst/sst_stream.c
index 83d8dda15233..65e257b17a7e 100644
--- a/sound/soc/intel/atom/sst/sst_stream.c
+++ b/sound/soc/intel/atom/sst/sst_stream.c
@@ -45,7 +45,6 @@ int sst_alloc_stream_mrfld(struct intel_sst_drv *sst_drv_ctx, void *params)
void *data = NULL;
dev_dbg(sst_drv_ctx->dev, "Enter\n");
- BUG_ON(!params);
str_params = (struct snd_sst_params *)params;
memset(&alloc_param, 0, sizeof(alloc_param));