ASoC: Intel: Baytrail: remove unneeded variable
Detected with Coccinelle Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
bf88b3c3c2
commit
060d35be2d
|
@ -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,
|
||||||
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)
|
||||||
|
|
Loading…
Reference in New Issue