Commit 060d35be authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Mark Brown

ASoC: Intel: Baytrail: remove unneeded variable

Detected with Coccinelle
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent bf88b3c3
...@@ -278,7 +278,6 @@ static int sst_byt_process_notification(struct sst_byt *byt, ...@@ -278,7 +278,6 @@ static int sst_byt_process_notification(struct sst_byt *byt,
struct sst_byt_stream *stream; struct sst_byt_stream *stream;
u64 header; u64 header;
u8 msg_id, stream_id; u8 msg_id, stream_id;
int handled = 1;
header = sst_dsp_shim_read64_unlocked(sst, SST_IPCD); header = sst_dsp_shim_read64_unlocked(sst, SST_IPCD);
msg_id = sst_byt_header_msg_id(header); msg_id = sst_byt_header_msg_id(header);
...@@ -298,7 +297,7 @@ static int sst_byt_process_notification(struct sst_byt *byt, ...@@ -298,7 +297,7 @@ static int sst_byt_process_notification(struct sst_byt *byt,
break; break;
} }
return handled; return 1;
} }
static irqreturn_t sst_byt_irq_thread(int irq, void *context) static irqreturn_t sst_byt_irq_thread(int irq, void *context)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment