]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - sound/soc/intel/atom/sst/sst_stream.c
Merge tag 'rtc-4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
[karo-tx-linux.git] / sound / soc / intel / atom / sst / sst_stream.c
index 51bdeeecb7c842fdf8035716d3402a607a0ebf37..83d8dda152331054650f6fca0d5d09d160d73108 100644 (file)
@@ -394,7 +394,6 @@ int sst_free_stream(struct intel_sst_drv *sst_drv_ctx, int str_id)
 {
        int retval = 0;
        struct stream_info *str_info;
-       struct intel_sst_ops *ops;
 
        dev_dbg(sst_drv_ctx->dev, "SST DBG:sst_free_stream for %d\n", str_id);
 
@@ -407,7 +406,6 @@ int sst_free_stream(struct intel_sst_drv *sst_drv_ctx, int str_id)
        str_info = get_stream_info(sst_drv_ctx, str_id);
        if (!str_info)
                return -EINVAL;
-       ops = sst_drv_ctx->ops;
 
        mutex_lock(&str_info->lock);
        if (str_info->status != STREAM_UN_INIT) {