From 972c98a02e16377fcfdf254433159c4724a5e60d Mon Sep 17 00:00:00 2001 From: Fei Tong Date: Mon, 8 Mar 2021 15:55:48 +0800 Subject: [PATCH] ASoC: remove unused variable definition for compling issue transcode_loopback_session_lock is defined but not used, and cause build issue remove the unused definition Change-Id: I233ca61084370cd17ccd04fa51fa1c25c8885c36 Signed-off-by: Fei Tong --- asoc/msm-transcode-loopback-q6-v2.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/asoc/msm-transcode-loopback-q6-v2.c b/asoc/msm-transcode-loopback-q6-v2.c index d83249b20fef..74dddf32266f 100644 --- a/asoc/msm-transcode-loopback-q6-v2.c +++ b/asoc/msm-transcode-loopback-q6-v2.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -/* Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. +/* Copyright (c) 2017-2021, The Linux Foundation. All rights reserved. */ #include @@ -44,8 +44,6 @@ #define APP_TYPE_CONFIG_IDX_SAMPLE_RATE 2 #define APP_TYPE_CONFIG_IDX_BE_ID 3 -static DEFINE_MUTEX(transcode_loopback_session_lock); - struct msm_transcode_audio_effects { struct bass_boost_params bass_boost; struct pbe_params pbe;