[alsa-devel] [PATCH] ASoC: Intel: remove unneeded variable
Julia Lawall
julia.lawall at lip6.fr
Sun Apr 12 07:55:30 CEST 2015
Removes unneeded variable used to store return value.
Generated by: scripts/coccinelle/misc/returnvar.cocci
CC: Jie Yang <yang.jie at intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
Signed-off-by: Julia Lawall <julia.lawall at lip6.fr>
---
sst-baytrail-ipc.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- a/sound/soc/intel/baytrail/sst-baytrail-ipc.c
+++ b/sound/soc/intel/baytrail/sst-baytrail-ipc.c
@@ -511,7 +511,6 @@ static int sst_byt_process_notification(
struct sst_byt_stream *stream;
u64 header;
u8 msg_id, stream_id;
- int handled = 1;
header = sst_dsp_shim_read64_unlocked(sst, SST_IPCD);
msg_id = sst_byt_header_msg_id(header);
@@ -531,7 +530,7 @@ static int sst_byt_process_notification(
break;
}
- return handled;
+ return 1;
}
static irqreturn_t sst_byt_irq_thread(int irq, void *context)
More information about the Alsa-devel
mailing list